Displaying 2 results from an estimated 2 matches for "inclexcl".
2013 Apr 06
3
Delete directories without browsing them
...on the destination server :
/backups
/2013-04-03
/2013-04-02
/2013-04-01
/2013-03-31
/2013-03-30
/2013-03-29
At the end of the backup process, I upload a logfile in the backup
directory and delete oldest backups.
For this, I use an include/exclude file, for example this inclexcl.txt :
+ /2013-04-03
+ /2013-04-03/logfile.log
- /2013-04-03/*
- /2013-04-02
- /2013-04-01
I also use this empty directory where my logfile is :
/tmp
/path
/2013-04-03
/logfile.log
And I run this rsync command :
rsync -a --delete-after --exclude-from=inclexcl.txt /t...
2013 Dec 19
5
[Bug 10338] New: Start deletion from the top of the hierarchy
...up tree on the destination server :
/backups
/2013-04-03
/2013-04-02
/2013-04-01
/2013-03-31
/2013-03-30
/2013-03-29
At the end of the backup process, I upload a logfile in the backup directory
and delete oldest backups.
For this, I use an include/exclude file, for example this inclexcl.txt :
+ /2013-04-03
+ /2013-04-03/logfile.log
- /2013-04-03/*
- /2013-04-02
- /2013-04-01
I also use this empty directory where my logfile is :
/tmp
/path
/2013-04-03
/logfile.log
And I run this rsync command :
rsync -a --delete-after --exclude-from=inclexcl.txt /tmp/path/ se...