[Borgbackup] Partclone, Borgbackup and Random Access?

John McCabe-Dansted gmatht at gmail.com
Sat Jul 23 23:03:19 EDT 2016


I haven't found anything capable of mounting partclone images, I presume
borgbackup can't either?

The way the backup2vm script works is to use partclone to copy from the raw
device to a sparse file in a btrfs partition on a sparse file.

On Fri, Jul 22, 2016 at 10:23 PM, Marian Beermann <public at enkore.de> wrote:

> You should be able to boot it when FUSE-mounting the repo/archive.
>
> Cheers, Marian
>
> On 22.07.2016 16:15, John McCabe-Dansted wrote:
> > I wrote a script to backup the used sectors of a device directly to a
> > compressed image with random access:
> >   https://github.com/gmatht/joshell/blob/master/scripts/backup2vm
> > These images provided easy per file access and can be booted in qemu.
> >
> > It doesn't seem to be possible to do this with partclone and borgbackup,
> > the closest I can see is to run something like:
> >   partclone ... | borg create repo::mypart -
> > which isn't bootable but would be compressed, deduplicated, and
> > shouldn't use too much space if I also backup files from the partition
> > to the same borg repo.
> >
> > Has anyone done anything smarter than this?
> >
> >
> > --
> > John C. McCabe-Dansted
> >
> >
> > _______________________________________________
> > Borgbackup mailing list
> > Borgbackup at python.org
> > https://mail.python.org/mailman/listinfo/borgbackup
> >
>
> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org
> https://mail.python.org/mailman/listinfo/borgbackup
>



-- 
John C. McCabe-Dansted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20160724/4c6074ab/attachment.html>


More information about the Borgbackup mailing list