[Box Backup] Manually deleting files
Chris Wilson
boxbackup@fluffy.co.uk
Fri, 25 Jan 2008 19:37:02 +0000 (GMT)
Hi Matt,
On Fri, 25 Jan 2008, Matt Brown wrote:
> I suppose in this instance what you could probably do with is something
> like a delete or rm command to delete files/dirs within the console (via
> bbackupquery) as an emergency get me out of trouble feature :-)
>
> I have tried the usual rm / rmdir / del / delete commands via the
> console, but it would *appear* that this is not a feature of box - I
> guess as its purpose is to backup rather than delete, this was not a
> desired/required feature.
You're right that bbackupquery does not implement those commands, although
it could, because bbackupd uses them to delete files from the server. I'll
consider it as a feature request.
> I am wondering if its possible to work out the dirs/files structure on
> the store you wish to remove and delete those files via the conventional
> means via the shell ?? Presuming that is possible, that would help free
> up some space .... but there maybe dragons ere :-)
It might be possible to just delete the directory object file in the
store, and run bbstoreaccounts check to delete the files which it
contained, that now have no parent directory. But I have a feeling that
bbstoreaccounts check will rebuild the directory for you instead.
Cheers, Chris.
--
_____ __ _
\ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | We are GNU : free your mind & your software |