Re: Exclude files "older than X days" (ctime or mtime)

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/02/2020 20:16, Felix Leimbach wrote:
> Hello dar users,

Hello Felix,

> 
> I'm using dar to backup a dovecot mailserver (among other things)
> and want to limit backup size by only saving files (emails) created
> later than "today minus X days".
> 
> After reading the dar man page twice I haven't found an option to
> achieve that. Since dar has an option for EVERYTHING I'm sure I
> just haven't found it yet.
> 
> Thankful for any pointers,

see -A option when used in conjunction of -af option, this should
address your need

> 
> Cheers
> 
> Felix
> 
> 

Cheers,
Denis
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl49FzIACgkQCDGwvQPY
sYKAxQ/9GKsiL3b/xcFol6t/AQezxBgoaTZMGbAoNpTyQxzsPBYES7CYQ+XYmGvB
uOMyWOeC73HUu3ynhLPs1pNwvv0TE//a7plRmuIyFnXUXo+bwExg15cE6eJ+RHHl
hJfn90NcLInLaQeBbnmpcaFs+8u0rWx8P0BY9y1MmMQGjByO65o+28eQ054vq1Cb
KJWd4UVHSmO4E8h0rI7zKF21hI2UuVZejzn2kdhjg8qN9dGOc+I3kIw95LWgUNMe
mL6IsmczrsIZchkfcatiLuboIclkMtV9zAc7yo7oR7hwT7afFZ9odYJrmtq+g5NO
OgmTYAjGsowWXvBuEzoAHksivC6OGPh/8/Wt8d1P+7z7DUiOSAuFOsjnAcMAflAA
F+GgBXZHzBazNtBVKA/nP5DsZ6XsnQnRcN/uF213DpyK8Gs/Fed049pS6w3BikSl
z1sWrDpo2R+VKtGSSTsRgVqR93h/9SI+dgAraQ0efolx6QQCOcXMzWLhgd2/0Szw
Rlb2r3E0nliclFbX2DPqDbAwmAocZ6Nf0JXeZqrVC9ZnxWoFPww5GEBAlHmGTO/r
SxAivHcQfRGtehgjjRp7bJLeLAWWlT5tFTQrAVFNIuU/F98Yg0pjnp19eVVUTZBm
zocppNqagH6RBCG76sRuvuTWEfc1MjLNLKTGBIsiUg7KWI3b2K8=
=iSFz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.