

Code: Select all
# patterns which should not be backed up (like iso files).
# example: default_exclude_pattern="*.iso *.divx"
# These pattern count only for files NOT listed in the $custom_include_list.
default_exclude_pattern="*.iso *.pk4"
Code: Select all
`find /mnt -mount -name .keep`Code: Select all
`find /mnt -mount -name .keep`Both lines you posted are identicalrb34 wrote:Hi all!
I found that the lineshould beCode: Select all
`find /mnt -mount -name .keep`because if you don't add -mount, find descends the whole directory structure of any mounted partition!!Code: Select all
`find /mnt -mount -name .keep`
That "bug" leads to two problems:
* if you, as me, have a partition with many dirs, the old find command takes a lot of time!
* and, if you have a backup made with rsnapshot (with many .keep files) on a mounted partition, the final command sent to "sh -c" can exceed the argument size limit!
Adding "-mount" makes find remain on the same partition, and this is fine, as we need only to find the .keep under /mnt and not on the mounted partitions
Code: Select all
`find /mnt -name .keep`Code: Select all
`find /mnt -mount -name .keep`How exactly do you get this script? I tried to copy/paste from the author website but it does not copy the indents cleanly. I also tried "wget 'http://blinkeye.ch/dokuwiki/doku.php/projects/mkstage4'" hoping the script was wrapped in "pre" html flags and I could delete the rest of the html.Gibbo_07 wrote: edit: my bad I have v3.5 - should have gotten it from authors webpage first time around

Not sure what your doing diff or if this has changed but a simple copy and paste worked fine for me, indents and all.johabba wrote: I tried to copy/paste from the author website but it does not copy the indents cleanly.
Thanks! Works great and runs much faster than it did in 2005kwispy wrote:I went searching for the maintained mkstage4.sh on Google, as the original download link is broken. I found it on github, which seems to be the most up-to-date version, as it has been re-written a few times. It seems to be in the chymeric overlay.
FYI for anyone who is following in my frustrated tracks, and for continuity's sake.
