[opensuse] Duplication of openSuse 13.2 system
I have multiple computers and would like to install openSuse on all of them. I have one system working the way I desire, and would like to copy it to the other systems. Before btrfs, this was a simple rsync operation. I have posed this question before it terms of performing a backup. Is there any way to duplicate an installation with all of the updates I have installed? My current plan is to install virgin 13.2 from the distribution media on the target system to establish the btrfs file system and the grub2 files. I was then going to write a script that did an rsync on each of the 13 subpartitions, omitting both the /boot/grub2/x86_64-efi and /boot/grub2/i386-pc subpartitions. If I include --delete and omit -u options in the rsync command, it should remove any new stuff and replace it with my existing code. Is the approach sane and will the following rsync line work? Are there any parts of grub2 that will get clobbered, or do they all reside in the /boot/grub2 subpartitions? rsync -rlpgovtS --delete "$SRC_DIR" "$DST_DIR/" 2> /dev/null Thanks, Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon 16 Mar 2015 11:03:28 AM CDT, don fisher wrote:
I have multiple computers and would like to install openSuse on all of them. I have one system working the way I desire, and would like to copy it to the other systems. Before btrfs, this was a simple rsync operation. I have posed this question before it terms of performing a backup. Is there any way to duplicate an installation with all of the updates I have installed?
My current plan is to install virgin 13.2 from the distribution media on the target system to establish the btrfs file system and the grub2 files. I was then going to write a script that did an rsync on each of the 13 subpartitions, omitting both the /boot/grub2/x86_64-efi and /boot/grub2/i386-pc subpartitions. If I include --delete and omit -u options in the rsync command, it should remove any new stuff and replace it with my existing code. Is the approach sane and will the following rsync line work? Are there any parts of grub2 that will get clobbered, or do they all reside in the /boot/grub2 subpartitions?
rsync -rlpgovtS --delete "$SRC_DIR" "$DST_DIR/" 2> /dev/null
Thanks, Don Hi You should autoyast it up to SUSE Studio, build a preload image and install....?
-- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default up 1:24, 3 users, load average: 0.63, 0.40, 0.40 CPU AMD A4-5150M APU @ 3.3GHz | GPU Richland Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Mar 16, 2015 at 12:03 PM, don fisher <hdf3@comcast.net> wrote:
rsync -rlpgovtS --delete "$SRC_DIR" "$DST_DIR/" 2> /dev/null
-A for acls -X for xattr -H for hardlinks -D to preserve specials Or use btrfs send/receive. -- Chris Murphy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Monday 16 March 2015, Chris Murphy wrote:
On Mon, Mar 16, 2015 at 12:03 PM, don fisher <hdf3@comcast.net> wrote:
rsync -rlpgovtS --delete "$SRC_DIR" "$DST_DIR/" 2> /dev/null
-A for acls -X for xattr -H for hardlinks -D to preserve specials
I also use -S, --sparse handle sparse files efficiently Don't know whether sparseness would get lost otherwhise. cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/17/2015 01:14 AM, Ruediger Meier wrote:
On Monday 16 March 2015, Chris Murphy wrote:
On Mon, Mar 16, 2015 at 12:03 PM, don fisher <hdf3@comcast.net> wrote:
rsync -rlpgovtS --delete "$SRC_DIR" "$DST_DIR/" 2> /dev/null
-A for acls -X for xattr -H for hardlinks -D to preserve specials
I also use -S, --sparse handle sparse files efficiently
Don't know whether sparseness would get lost otherwhise.
cu, Rudi
I think the S was the last element in my option string. Thanks for looking. Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/16/2015 11:57 AM, Chris Murphy wrote:
On Mon, Mar 16, 2015 at 12:03 PM, don fisher <hdf3@comcast.net> wrote:
rsync -rlpgovtS --delete "$SRC_DIR" "$DST_DIR/" 2> /dev/null
-A for acls -X for xattr -H for hardlinks -D to preserve specials
Or use btrfs send/receive.
Sorry for the delay. I have experimented trying to copy my existing 3.1 OS to another drive in the same system. I obviously do not understand the details. As root: btrfs send -v -c /var/log | btrfs receive /usr11/var/log ERROR: open failed. No such file or directory ERROR: could not resolve root_id for /var/log I was trying to copy a exact copy (clone ?) of the log files on my system to the other one. I tried adding the parent, -p / , but then received a ERROR: parent / is not read-only. Please advise, sorry for being so opaque. Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Chris Murphy
-
don fisher
-
Malcolm
-
Ruediger Meier