From: Jeffrey J. Kosowsky <backuppc@ko...> - 2008-09-28 20:43:05
I add an (empty) file named '-i' in several of my key Linux
directories to prevent inadvertent "rm *" calamities.
However, BackupPC doesn't seem to like this, giving me error messages
Can't open /var/lib/BackupPC//pc/mycomputer/new/f%2fetc/f-i for empty
Then, when I look in the backup directory
I cannot find the file '-i' backed up (though everything else is ok).
I am using the 'rsync' transfer method over NFS.
Note when I manually run a similar rsync statement from the console,
there are no problems.
sudo -u backuppc rsync -vx --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --omit-dir-times root@...:/etc/ /var/lib/BackupPC/pc/mycomputer/temp
receiving file list ... done
So, I am wondering whether it is a "quoting" issue where somehow the
shell is interpreting the '-' rather than seeing it as part of the filename.
Any ideas on how to fix this?
Get latest updates about Open Source Projects, Conferences and News.