Gandalf Corvotempesta
2016-09-05 08:48:46 UTC
I would like to suggest a feature.
With huge backups servers having to backup huge clients (millions of
files), the delete phase is very very slow. In my case, it takes 4
hours on some machines.
During these 4 hours the rotation is stuck, even using "lazy_delete"
I would like to suggest a feature where the deletion is made by an
external program (called, in example, by cron, during the middle of
the day, if backup are run in the night). With this option set to 1,
rsnapshot should only move the older snapshot to a temporary directory
(like now with lazy_delete) but never try to delete it. Just the move.
Something like "skip_delete" that set with "lazy_delete" will just do
the "mv" phase skipping the "rm" phase. The "rm" could be easily run
by cron with a one-liner during the day.
In my case this would help very much.
------------------------------------------------------------------------------
With huge backups servers having to backup huge clients (millions of
files), the delete phase is very very slow. In my case, it takes 4
hours on some machines.
During these 4 hours the rotation is stuck, even using "lazy_delete"
I would like to suggest a feature where the deletion is made by an
external program (called, in example, by cron, during the middle of
the day, if backup are run in the night). With this option set to 1,
rsnapshot should only move the older snapshot to a temporary directory
(like now with lazy_delete) but never try to delete it. Just the move.
Something like "skip_delete" that set with "lazy_delete" will just do
the "mv" phase skipping the "rm" phase. The "rm" could be easily run
by cron with a one-liner during the day.
In my case this would help very much.
------------------------------------------------------------------------------