duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] backing up using SFTP to a directory under my home dire


From: Luis Tirado
Subject: [Duplicity-talk] backing up using SFTP to a directory under my home directory
Date: Wed, 7 Feb 2018 19:47:07 -0500

I have a Windows system running cygwin and duplicity (client) -- backup source
I have a Linux server capable of using SFTP -- backup destination

I am attempting to backup a folder from the client to the server. The
folder I want to place the backups is underneath my home directory on
the server, however:

/proj/backup_dir

When I issue a command like:

export FTP_PASSWORD=mypass
duplicity /cygdrive/c/folder_to_backup
pexpect+sftp://address@hidden/proj/backup_dir

What ends up happening is that this backs up the contents to
~/proj/backup_dir which is not what I want... Moving the backup after
the fact would not work since I have a quota on my home directory
which exceeds the backup's size.

What I'd like it to do is to back up the contents to /proj/backup_dir

I attempted to use a symlink on my home directory to point to the
folder, and that works to an extent... This works:

duplicity /cygdrive/c/folder_to_backup
pexpect+sftp://address@hidden/symlinked_dir

where symlinked_dir -> /proj/backup_dir

but this does not:

duplicity /cygdrive/c/folder_to_backup
pexpect+sftp://address@hidden/symlinked_dir/subfolder

I get messages like this:
"bash-4.3$ cwdup.sh
Local and Remote metadata are synchronized, no sync needed.
      0 [main] python2.7 390948 child_info_fork::abort: address space
needed by '_librsync.dll' (0x520000) is already oc
cupied
      0 [main] python2.7 411620 child_info_fork::abort: address space
needed by '_librsync.dll' (0x520000) is already oc
cupied
Attempt 1 failed. ExceptionPexpect: pty.fork() failed: [Errno 11]
Resource temporarily unavailable"

I don't have control of this server, where I am backing up the data so
I can't change where the sftp command places me in my home directory
when I log in.

Is there another way I can accomplish backing up to some folder
underneath the server's root (/) directory, rather than on my home
(~/) directory?

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]