It is currently Mon May 22, 2017 11:24 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [SOLVED] *-old is an ineffective rsync exclude pattern?
PostPosted: Sun Oct 23, 2016 9:16 am 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1136
During a live persistent session I noticed the -old files residing in /var/cache/debconf/ bear older creation dates.
The various .exclude lists already include pattern
/var/cache/debconf/*-old
which suggests that rsync is ignoring/discarding any "...asterisk dash..." patterns.

related note:
These 15Mb+ files are regenerated each time apt-update is performed, so this pattern can be listed in persist-save.exclude
/var/cache/apt-show-versions/*


Last edited by skidoo on Wed Nov 16, 2016 11:29 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: /blahpath/*-old is an ineffective rsync exclude pattern?
PostPosted: Sun Oct 23, 2016 6:07 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 3973
Location: Pecos, Texas
My experience with anything with anything ending with .old after a dist-upgrade.

Though live persistence is not how I roll skidoo.

Anyways. .old is just a backup of original so I can restore original settings if new dist-upgrade file breaks something on my install.

That is just my experience talking. .old = .backup

If I am off base and missing your point entirely.

Then never mind.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: /blahpath/*-old is an ineffective rsync exclude pattern?
PostPosted: Sun Oct 23, 2016 6:59 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1136
rok, in this case, the filenames literally end with the chracters "-old"
and the issue is that rsync seems to choke/ignore patterns containing "/*-old" when it parses the excludes lists.


Top
 Profile  
 
 Post subject: Re: [SOLVED] *-old is an ineffective rsync exclude pattern?
PostPosted: Wed Nov 16, 2016 11:35 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1136
Found out the problem wasn't specific to any existing pattern.
For use with overlayfs+rsync, ALL pattern pathnames need to be prefixed with /upper/ in order to match.
BitJam has released script(s) updated to address this.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred