Hi everyone, it would be nice if rsync could call an external command to delete files. Than one could call a secure deletion tool like "wipe", which overwrites files a few times before deleting them. Right now Im wiping personal data which I dont need anymore, but it doesnt help much since they can easily be recovered from my backup made with rsync. Bye, Mario -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Hi, On Wed, 6 Jun 2007, Melmi wrote:> it would be nice if rsync could call an external command to delete > files. Than one could call a secure deletion tool like "wipe", which > overwrites files a few times before deleting them. > > Right now Im wiping personal data which I dont need anymore, but it > doesnt help much since they can easily be recovered from my backup made > with rsync.You can use something like "--backup-dir=.old-saved --exclude /.old-saved" and wipe out the directory .old-saved later yourself. rsync will mv the files to the backup-dir (not cp). Viele Gr??e Eberhard M?nkeberg (emoenke@gwdg.de, em@kki.org)
> > rsync will mv the files to the backup-dir (not cp).Good idea. However, "wipe" has some mechanism to prevent recovering of the old filename. I dont know wether it does anything else than a bunch of moves with mv. Using you solution, the filename might be recoverable. Im not sure about this. Bye and thanks, Mario -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
HI, On Wed, 6 Jun 2007, Melmi wrote:> > rsync will mv the files to the backup-dir (not cp). > > Good idea. However, "wipe" has some mechanism to prevent recovering of > the old filename. I dont know wether it does anything else than a bunch > of moves with mv. > Using you solution, the filename might be recoverable. Im not sure about > this.Filenames will stay original. rsync creates the true original directory structure (as far as needed) below the backup-dir, so no need to change filenames. Viele Gr??e Eberhard M?nkeberg (emoenke@gwdg.de, em@kki.org)
Eberhard wrote:> Filenames will stay original. rsync creates the true original directory > structure (as far as needed) below the backup-dir, so no need to change > filenames.I know. We misunderstood each other, I guess. Example: /home/mario/myfile.txt ist to be securely deleted. Using the "wipe" tool, not only the contents of the file are overwriten multiple times. The filename entry is also overwriten lots of times, so even the name of the file can not be recovered. But this file would still exist in the backup directory /backup/mario/myfile.txt. After the next rsync run, it would be moved to /backup/old_saved. As you said, it can be securely deleted there, including filename destruction. But the filename entry for /backup/mario/myfile.txt was only modified by the rsync move, and now there is no way of destroying it securely. -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
Hi, On Thu, 7 Jun 2007, Melmi wrote:> Eberhard wrote:> > Filenames will stay original. rsync creates the true original directory > > structure (as far as needed) below the backup-dir, so no need to change > > filenames. > > I know. We misunderstood each other, I guess. Example: > /home/mario/myfile.txt ist to be securely deleted. Using the "wipe" > tool, not only the contents of the file are overwriten multiple times. > The filename entry is also overwriten lots of times, so even the name of > the file can not be recovered. > But this file would still exist in the backup directory > /backup/mario/myfile.txt. After the next rsync run, it would be moved to > /backup/old_saved. As you said, it can be securely deleted there, > including filename destruction. But the filename entry for > /backup/mario/myfile.txt was only modified by the rsync move, and now > there is no way of destroying it securely.OK, I see it now. You could force the re-use of the deleted directory entries by creating a bunch of dummy files at the original directory and then wipe them out. Viele Gr??e Eberhard M?nkeberg (emoenke@gwdg.de, em@kki.org)