Re: [rdiff-backup-users] hardlink-only mode?
roland wrote: hi ! My hope is to create an option in rdiff-backup so that instead of the mirror directory containing duplicates of the original data, the mirror contains *hardlinks* to the original data. i had a similar requirement like your`s - i wanted to have rdiff-backups from a remote system on which i couldn`t install rdiff-backup onto. so, i had to mirror it via rsync first and then make rdiff-backup from that local copy - so earch file existing twice and taking up unnecessary space. I believe dirvish (www.dirvish.org) will do what you want. It only needs rsync on the client machine. Cheers, Dave ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[rdiff-backup-users] UGH! How can I fix No usable temporary directory found ? (env var NOT POSSIBLE)
Same story, different month. rdiff-backup works fine for one or two backups, and then all of a sudden I start getting this error message: IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/'] I _do not have_ a /tmp or /var/tmp or /usr/tmp on the remote end. My ssh login is jailed in a chroot, and that chroot does not have a /tmp of any kind. Am I correct that it is complaining about the _remote_ /tmp ? (my local /tmp seems fine, and is not full) . Is it possible for me to tell rdiff-backup to put the temporary files somewhere else ? NO I DO NOT have the ability to set a ENV VAR on the remote side. I can't log in interactively and I am in a jail. I need to tell rdiff-backup _from my end_ to put the temp files in /some/remote/directory. Can anyone help with this ? I have asked this question several times over the last few months and get _nothing_ in response. Is it just impossible to use rdiff-backup with a remote jail with no /tmp ? Thanks. - Get your own web address. Have a HUGE year through Yahoo! Small Business.___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[rdiff-backup-users] UGH! How can I fix No usable temporary directory found ? (env var NOT POSSIBLE)
Same story, different month. rdiff-backup works fine for one or two backups, and then all of a sudden I start getting this error message: IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/'] I _do not have_ a /tmp or /var/tmp or /usr/tmp on the remote end. My ssh login is jailed in a chroot, and that chroot does not have a /tmp of any kind. Am I correct that it is complaining about the _remote_ /tmp ? (my local /tmp seems fine, and is not full) . Is it possible for me to tell rdiff-backup to put the temporary files somewhere else ? NO I DO NOT have the ability to set a ENV VAR on the remote side. I can't log in interactively and I am in a jail. I need to tell rdiff-backup _from my end_ to put the temp files in /some/remote/directory. Can anyone help with this ? I have asked this question several times over the last few months and get _nothing_ in response. Is it just impossible to use rdiff-backup with a remote jail with no /tmp ? Thanks. - Want to start your own business? Learn how on Yahoo! Small Business.___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Exclude-sockets not working (Mac OS X)
Ilari Scheinin wrote: I am running rdiff-backup with the --exclude-sockets option, but I am still getting this kind of error for every socket: ListError private/var/launchd/0/sock [Errno 1] Operation not permitted: '/private/var/launchd/0/sock' I am running rdiff-backup with sudo, and below is the output for ls: $ ls -l /private/var/launchd/0 srwx-- 1 root wheel 0 Feb 19 10:18 sock Am I doing something wrong, or is the program not able to correctly detect sockets in this environment (HFS+ Journaled under Mac OS X 10.4.8)? I installed rdiff-backup using MacPorts: sudo port install rdiff-backup-devel (1.1.5) sudo port install py-xattr (0.2) Ilari, Good catch! If the user had extended attributes support enabled (as you did), rdiff-backup tried to read/set the extended attributes on the socket. However, sockets don't have extended attributes on Mac OS X or Linux and this attempt generates an error. I have patched this in CVS and the fix will be in the next release of rdiff-backup. If anyone knows of a platform that DOES support extended attributes for sockets, let me know and I'll include a finer-grained test. Best, Andrew -- Andrew Ferguson - [EMAIL PROTECTED] ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] rdiff-backup error: Mac OS X - Linux
Corey Puffalt wrote: On Wed, 7 Feb 2007, Corey Puffalt wrote: Exception '[Errno 13] Permission denied: '/mnt/backup/ibookbackups/private/var/db/Spotlight-V100/%2FVolumes%2Fftpmirror.sectoor.de'' raised of class 'exceptions.OSError': Corey, Did you run rdiff-backup as root? The permissions on that directory are: drw--- 4 rootwheel 136B Feb 21 18:49 Spotlight-V100 If you don't run rdiff-backup as root, you cannot backup that directory (no backup program can!). I just ran: sudo rdiff-backup Spotlight-V100 Spotlight-V100.backup and it worked perfectly. I think if you run rdiff-backup as root you won't run into any problems. Chris, rdiff-backup will adjust permissions as necessary (eg, adding 100 to Spotlight-V100 during backup), but you have to be the file's owner to do so (or root). Cheers, Andrew -- Andrew Ferguson - [EMAIL PROTECTED] ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] remove-older-than broken?
Since this was originally reported on Fink's version, I rolled all commits in CVS HEAD since 1.1.9 into Fink's and MacPorts' rdiff-backup and rdiff-backup-devel packages, respectively. Regards, Blair -- Blair Zajac, Ph.D. CTO, OrcaWare Technologies [EMAIL PROTECTED] Subversion training, consulting and support http://www.orcaware.com/svn/ Marc Dyksterhouse wrote: Kevin, Now it is coming back to me... This was actually fixed last month, but at never made it into a release. It's in CVS head. Or you can look at this post: http://lists.nongnu.org/archive/html/rdiff-backup-users/2007-01/msg00115.html Hope this helps. marc Kevin Horton wrote: I'm not using rdiff-backup on a remote machine. The backups are on a second hard drive, attached to the same machine as the hard drive with the data to be backed up. Only one instance of rdiff-backup is running. The backups have been accumulating for many, many months, using the most recent version of rdiff-backup available at that time. Kevin Horton On 25 Feb 2007, at 11:14, Marc Dyksterhouse wrote: Kevin, Are you running v1.1.9 for both client and server? marc Kevin Horton wrote: I tried to clean up some of the old cruft in my backup repository by using the --remove-older-than command. I used the exact same command that I have successfully used in the past, with previous versions of rdiff-backup, but it doesn't work with v1.1.9 sudo rdiff-backup -v5 --remove-older-than 6M --force --print-statistics /Volumes/Maxtor_300/bu/PowerMac/kwh Unable to import module xattr. Extended attributes not supported on filesystem at /Volumes/Maxtor_300/bu/PowerMac/kwh/rdiff-backup-data/rdiff-backup.tmp.0 Unable to import module posix1e from pylibacl package. ACLs not supported on filesystem at /Volumes/Maxtor_300/bu/PowerMac/kwh/rdiff-backup-data/rdiff-backup.tmp.0 escape_dos_devices not required by filesystem at /Volumes/Maxtor_300/bu/PowerMac/kwh/rdiff-backup-data/rdiff-backup.tmp.0 - Detected abilities for /Volumes/Maxtor_300/bu/PowerMac/kwh/rdiff-backup-data (read/write) file system: Ownership changing On Hard linking On fsync() directories On Directory inc permissionsOn High-bit permissions On Symlink permissions On Extended filenames On Access control lists Off Extended attributes Off Case sensitivity Off Escape DOS devices Off Mac OS X style resource forksOn Mac OS X Finder information On - Exception 'SingleSetGlobals instance has no attribute 'src_fsa'' raised of class 'type 'exceptions.AttributeError'': File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 298, in error_check_Main try: Main(arglist) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 318, in Main take_action(rps) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 282, in take_action elif action == remove-older-than: RemoveOlderThan(rps[0]) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 671, in RemoveOlderThan rootrp = require_root_set(rootrp, 0) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 649, in require_root_set read_only) File /sw/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 727, in single_set_globals ssg.set_must_escape_dos_devices(Globals.rbdir) File /sw/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 610, in set_must_escape_dos_devices self.src_fsa.escape_dos_devices or local_edd) Traceback (most recent call last): File /sw/bin/rdiff-backup, line 23, in module rdiff_backup.Main.error_check_Main(sys.argv[1:]) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 298, in error_check_Main try: Main(arglist) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 318, in Main take_action(rps) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 282, in take_action elif action == remove-older-than: RemoveOlderThan(rps[0]) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 671, in RemoveOlderThan rootrp = require_root_set(rootrp, 0) File /sw/lib/python2.5/site-packages/rdiff_backup/Main.py, line 649, in require_root_set read_only) File /sw/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 727, in single_set_globals ssg.set_must_escape_dos_devices(Globals.rbdir) File /sw/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 610, in set_must_escape_dos_devices self.src_fsa.escape_dos_devices or local_edd)