Michael Kopp
2015-10-02 21:39:21 UTC
Hi,
how do you feel about adding a parameter (e.g. temp_root) in the config,
that allows to specify a temp directory? The temporary directories, in
which the backup_scripts are executed, could then be created (and
erased) within this directory. The motivation behind that is, for me,
that I have /tmp as ramfs and I would like my backup script to generate
its content there -- this is much faster than dumping it somewhere on
the disk and then comparing disk--disk.
This problem was here before:
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/rsnapshot-24/backup-script-temp-directory-122129/
In the attachment, there is a simple patch, that provides this
parameter. But I guess, there should be some checks added, whether
temp_root is somewhere under snapshot_root etc.
Cheers,
Michael
how do you feel about adding a parameter (e.g. temp_root) in the config,
that allows to specify a temp directory? The temporary directories, in
which the backup_scripts are executed, could then be created (and
erased) within this directory. The motivation behind that is, for me,
that I have /tmp as ramfs and I would like my backup script to generate
its content there -- this is much faster than dumping it somewhere on
the disk and then comparing disk--disk.
This problem was here before:
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/rsnapshot-24/backup-script-temp-directory-122129/
In the attachment, there is a simple patch, that provides this
parameter. But I guess, there should be some checks added, whether
temp_root is somewhere under snapshot_root etc.
Cheers,
Michael
--
Michael Kopp <***@yahoo.de>
Michael Kopp <***@yahoo.de>