Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2022 12:03:32 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        ports@freebsd.org
Subject:   Re: Fill a disk with more recent files
Message-ID:  <537de4e5-1f98-8abc-a2f2-c974dc01b897@netfence.it>
In-Reply-To: <CAFYkXj=kULDh%2BUwCsObE6ivE9R6UuC93PMmXf1%2BM134JtO0tgg@mail.gmail.com>
References:  <b92d3ed6-0ea4-ff05-b53c-4427c6234eeb@netfence.it> <CAFYkXjk=XoiC93_wgaxDBCJcCpC_m0G=0oWdpHCR08Vm910fbg@mail.gmail.com> <40ed09f1-f4b9-d4bf-26fa-9a93e73b09bb@netfence.it> <CAFYkXj=kULDh%2BUwCsObE6ivE9R6UuC93PMmXf1%2BM134JtO0tgg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537de4e5-1f98-8abc-a2f2-c974dc01b897>