[Box Backup] Backup File Order

Chris Wilson boxbackup@fluffy.co.uk
Wed, 12 Sep 2007 20:16:02 +0100 (BST)


Hi Johann,

On Wed, 12 Sep 2007, Johann Glaser wrote:

> I've found out that SVN repositories of the "fsfs" type can be directly 
> backed up, without the need for a hot-copy.
>  http://svn.collab.net/repos/svn/trunk/notes/fsfs (bottom) The only 
> conditions are, that the "db/current" file is backed up first and that 
> the "db/transactions/" directory is excluded.
>
> While it is easy to exclude directories from a BoxBackup backup, is it 
> possible to influence the order of the backup?

Sorry, not at the moment. Maybe we could add something like a 
BackupFilesFirst directive under a location which causes the list of files 
in each directory to be scanned twice, and on the first pass only files 
matching BackupFilesFirst are backed up.

> If it is currently not possible, what is the current order of backups? 
> Subdirs-first or files-first? Are the files sorted alphabetically before 
> backed up or are they taken as they come from the filesystem?

As they come from the filesystem. We never had a need to sort them before.

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |