Rich Freeman on 30 Aug 2014 06:33:36 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Image-based partial backup?


On Sat, Aug 30, 2014 at 8:55 AM, David Z <unimportantdavidz@gmail.com> wrote:
>
> I'd then make a full copy of the image, with dd (or ddrescue) or
> similar. This obviously includes the excluded files.
>
> After that, I'd simply mount the backup image and use the list of files
> to be excluded as an argument with rsync's --exclude-from=FILE flag, and
> also include the --delete flag to erase the files on the backup that are
> excluded. Optionally, the mounted backup image can then have the
> deletions overwritten with zerofill or similar, or even just good old
> 'dd if=/dev/zero of={$mountedbackup/zero.tmp} ; rm $mountedbackup/zero.tmp'.

The problem with this is that if I want to backup a 1TB filesystem
that contains 200GB of included files and 300GB of excluded files,
your solution requires 1TB of disk space.  I already have a solution
that requires only 500GB of disk space (Clonezilla), and I'd like a
solution that only requires 200GB of disk space.

Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug