[Box Backup] Backups

Per Reedtz Thomsen boxbackup@fluffy.co.uk
Thu, 20 Mar 2008 21:34:34 -0700


On 3/20/08 2:36 PM, Kjell Christian Bruheim wrote:
> Hi everyone!
>
> I've been testing boxbackup on my systems for a day now, and it works 
> like a dream. But i have a question to the sync part of it.
>
> If a file is deleted localy, is there any settings in configfiles so 
> they are not deleted remotly in the backup aswell??
Kjell,
Deleted files are not deleted from the backup store until there is no 
room left there. To find files that were deleted locally, use the 'd' 
option to the list command in bbackupquery:

query > ls -dt
00017834 f----- 2007-09-19T23:00:53 file1
0001c7d0 f-X--- 2008-03-12T22:36:31 file2
0001c7d3 -d---- 1970-01-01T00:00:00 dir1
0001c7d7 -d---- 1970-01-01T00:00:00 dir2
0001ca3c f----- 2008-03-17T19:47:56 file3
0001ca3d f----- 2008-03-17T19:50:45 file4

shows you current and deleted files, as well as a timestamp. the X 
denotes a deleted file; so file2 is deleted on the local machine. You 
can retrieve the file using the 'get -i' command: 'get -i 1c7d0 
file2.restored' will restore the deleted file2 to a file called 
file2.restored...

query> list -odt
00017834 f----- 2007-09-19T23:00:53 file1
0001c417 f--o-- 2008-03-04T20:11:46 file2
0001c7cf f--o-- 2008-03-12T22:35:23 file2
0001c7d0 f-X--- 2008-03-12T22:36:31 file3
0001c7d1 f--o-- 2008-03-12T22:38:36 file2
0001c7d2 f--o-- 2008-03-12T18:14:11 file4
0001c7d3 -d---- 1970-01-01T00:00:00 dir1
0001c7d7 -d---- 1970-01-01T00:00:00 dir2
0001ca3c f----- 2008-03-17T19:47:56 file5
0001ca40 f--o-- 2008-03-17T20:26:50 file2
0001ca41 f--o-- 2008-03-17T20:26:38 file4
0001cb49 f----- 2008-03-19T15:09:27 file2
0001cb4a f----- 2008-03-19T18:06:08 file4

This example shows how the 'o' option lets you see old versions of the 
same file. There are 6 versions of file2, and 3 of file4. The 'o' in the 
file listing denotes that this is an older version of the file. Note 
that the most recent version (at the bottom of the listing) has no 'o' 
in the flags, so that is the most recent.

Finally the help command in bbackupquery is your friend. 'help list' 
will give you all the details on the file listing command. 'help' gives 
you a list of all the commands...

Hope this helps.

Thanks,
Per

-- 
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102    |   pthomsen@reedtz.com  | C: 209 996 9561
GPG ID: 1209784F   |  Yahoo! Chat: pthomsen | AIM: pthomsen