duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Excluding file patterns, regardless of the file loc


From: Madhusudan Singh
Subject: Re: [Duplicity-talk] Excluding file patterns, regardless of the file location
Date: Tue, 17 Aug 2010 12:40:20 -0500

Thanks. That took care of that. Now, I am trying to do a full backup and somehow the program stops:

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
Cleanup of temporary directory /var/folders/ka/kaw84W5MGAyIC6ZTOm42W++++TI/-Tmp-/duplicity-RkWXPh-tempdir failed - this is probably a bug.
Traceback (most recent call last):
  File "/opt/local/bin/duplicity", line 1239, in <module>
    with_tempdir(main)
  File "/opt/local/bin/duplicity", line 1232, in with_tempdir
    fn()
  File "/opt/local/bin/duplicity", line 1210, in main
    full_backup(col_stats)
  File "/opt/local/bin/duplicity", line 416, in full_backup
    globals.backend)
  File "/opt/local/bin/duplicity", line 294, in write_multivol
    globals.gpg_profile, globals.volsize)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/duplicity/gpg.py", line 275, in GPGWriteFile
    bytes_to_go = data_size - get_current_size()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/duplicity/gpg.py", line 267, in get_current_size
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/var/folders/ka/kaw84W5MGAyIC6ZTOm42W++++TI/-Tmp-/duplicity-RkWXPh-tempdir/mktemp-w4g3zT-2'

close failed in file object destructor:
IOError: [Errno 32] Broken pipe
Cleanup of temporary directory /Users/smuser/.cache/duplicity/1cf38dda3030cdee176d96076e727b3c/duplicity-qYyEGc-tempdir failed - this is probably a bug.
Cleanup of temporary directory /Users/smuser/.cache/duplicity/1cf38dda3030cdee176d96076e727b3c/duplicity-7MG48C-tempdir failed - this is probably a bug.

The remote server directory is empty. The remote server supports rsync/ssh.


On Tue, Aug 17, 2010 at 11:32 AM, Kenneth Loafman <address@hidden> wrote:
Madhusudan Singh wrote:
> Here is the problem:
>
> I currently use rsync to backup my files to a local ssh server. The
> issue is that rsync does not encrypt, compress and backup, and I am
> considering moving to duplicity as my tool of choice. I am using this on
> Mac OSX and I already use duplicity (without the exclude spec) for my
> Amazon S3 backups. They work, so duplicity is functional on my platform.
> Hence, what follows is not a result of any OS-application snarls.
>
> I tried to whip up a script to do this.
>
> I am getting stuck at a specific requirement that I have (this uses
> --exclude-globbing-filelist option). I want to exclude ALL ps, bmp,
> tiff, avi, etc. files no matter where they are located.
>
> So, I created an exclude file:
>
> - *.avi
> - *.ps
> - .*.bmp
> - *.mbox
> ...

You need to use the format '**/*.avi' and it should work.

...Thanks,
...Ken



_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk



reply via email to

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