Re: Fill a disk with more recent files

From: Andrea Venturoli <ml_at_netfence.it>
Date: Wed, 27 Apr 2022 10:03:32 UTC
On 4/27/22 11:50, Tomek CEDRO wrote:

> If you want to enforce particular sort order you will have to call
> rsync from another tool. Probably ls / find, sort, then rsync, maybe a
> dedicated Python script.

Sure, this was what I was thinking.
I just wanted to avoid doing this if it already existed.



> That also depends on how do you want to treat existing backup files.
> Do you want to delete them all completely on backup, or remove oldest
> files in order to make a room for the new files?

Ideally the latter, although I don't think in the end it would make any 
difference (as it probably would mean delete them all).



> Have you considered ZFS (full/incremental) snapshots and partitioning
> your pool into areas based on backup priority?

No, this is completely inapplicable for several reasons (data is on a 
Linux based NAS which can only use Ext3, data is already prioritized and 
I'm just talking about high priority, etc...).



> With ZFS you can frequently create incremental snapshots for important
> locations and stream them into a backup file.

I know and I'm using this in several other situations.
However here I'm collecting data from several sources (including Windows 
PCs, so ZFS is out of question).



  bye & Thanks
	av.