Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187149

Re: Restore backup to KVM

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Restore backup to KVM
Date Sun, 24 Sep 2017 11:20:01 +0200
Message-ID <utbeV-6SD-3@gated-at.bofh.it> (permalink)
References <uso4y-1K3-11@gated-at.bofh.it> <uspjX-2Dw-13@gated-at.bofh.it> <usBEt-1vD-1@gated-at.bofh.it> <usBXS-1C1-25@gated-at.bofh.it> <utaVA-6wY-15@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Sun Sep 24 09:14:44 2017
Old-Return-Path <tomas@tuxteam.de>
X-Amavis-Spam-Status No, score=-11.981 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; x-action=pgp-signed
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.5.21 (2010-09-15)
X-Mailing-List <debian-user@lists.debian.org> archive/latest/726859
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20170924091428.GA3132@tuxteam.de
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 24 Sep 2017 11:14:28 +0200
X-Original-Message-ID <20170924091428.GA3132@tuxteam.de>
X-Original-References <32edc957-fa9a-ecfa-7af8-6b4eecb58260@mail.com> <20170922060855.zuxhn7rvj4tgnxuq@p5k.home> <0600e805-dbe6-6d98-8129-979bcd467469@mail.com> <20170922193809.6f2utbi2uzvtlebg@p5k.home> <0d536dab-6c0e-d7c0-55c5-93ffc3dbcd7e@mail.com>
Xref csiph.com linux.debian.user:187149

Show key headers only | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Sep 24, 2017 at 10:58:42AM +0200, solitone wrote:
> On 22/09/17 21:38, Reco wrote:
> >2) Your backup is made by rsync(1) or tar(1).
> >
> >Make yourself a file representing virtual machine disk.
> >Apply parted/fdisk/whatever to make appropriate number of partitions
> >inside it. Create filesystems.
> >Mount these somewhere, invoke rsync(1)/tar(1) as needed.
> 
> Ok, I've done all these steps.
> 
> >Fix extended file attributes, capability labels, SELinux labels if any
> >etc. By hand, that is.

Note that rsync can be told to preserve extended file attributes (option
- -X). Whether that succeeds will depend, of course, on whether the target
file system can digest that.

Likewise, tar has an --xattrs option.

Capabilities and SELinux labels seem to be implemented on top of
xattrs (Disclaimer: I barely know what I'm talking about, but I
Looked It Up On The Internet(TM)). So all seems well here.

"By hand" sounds a bit sadomasochistic. I'd use -X resp. --xattrs
and sift carefully through warnings and errors. Plus perhaps check
one file or three to catch some systematic error.

Cheeers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnHd3QACgkQBcgs9XrR2kZfGQCeOSG2M9EVkRGrmc3kXVWjSvfd
FkMAn3TmkPHQQC6KA5LkNfeU8rw3X/zd
=RP+J
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Restore backup to KVM solitone <solitone@mail.com> - 2017-09-22 06:50 +0200
  Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-22 08:10 +0200
    Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-22 21:20 +0200
      Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-22 21:40 +0200
        Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-24 11:00 +0200
          Re: Restore backup to KVM <tomas@tuxteam.de> - 2017-09-24 11:20 +0200
          Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-24 12:00 +0200
            Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-25 21:10 +0200
              Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-26 08:50 +0200
            Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-25 21:20 +0200
              Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-26 08:50 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-26 13:10 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-26 13:20 +0200
                Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-26 17:40 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-26 21:20 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-26 21:50 +0200
                Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-27 09:00 +0200
                Re: Restore backup to KVM "Thomas Schmitt" <scdbackup@gmx.net> - 2017-09-27 09:50 +0200
                Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-27 10:40 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-27 14:10 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-27 19:00 +0200
                Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-28 09:00 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-29 06:40 +0200
                Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-29 08:40 +0200
                Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-30 13:10 +0200
                Re: Restore backup to KVM solitone <solitone@mail.com> - 2017-09-30 15:50 +0200
                Re: Restore backup to KVM Reco <recoverym4n@gmail.com> - 2017-09-30 17:00 +0200

csiph-web