From ee98ba841570aabf1883ae190164f160cd244a95 Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Sun, 22 Jul 2018 23:39:51 -0500 Subject: [PATCH 01/10] Create linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 275 ++++++++++++++++++ 1 file changed, 275 insertions(+) create mode 100644 doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst new file mode 100644 index 0000000..4531738 --- /dev/null +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -0,0 +1,275 @@ +============================== +How to Create Backups on Linux +============================== + +There are various different methods to creating backups on Linux and also may be dependent on your distribution as well as your preferences. Some of these include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for Linux, and CloneZilla to name a few. However in this article, we will be using rsync as our example. + +Please note that the majority of the information in this article was gathered from `SpiceWorks `_. I have condensed or removed parts that were either to long, unnecessary, or irrelevant to just doing a backup. I have also put additional examples and a few links to help with understanding how some of the options work. + + **Install rysnc** + +- **Redhat/CentOS** + + :: + + yum install rsync + +- **Ubuntu** + + :: + + apt-get install rysnc + + **Running rsync one time backup** + + Here you will need to specify source, `option `_, and destination. + +- Ex:: + + rsync [OPTION] … SRC … [USER@]HOST:DEST + rsync [OPTION] … [USER@]HOST:SRC [DEST] + + So in order to back up the entire system while excluding unneeded, you would run the following. + /* being the source directory and all sub-directories and /home/user/backup being the destination. + + :: + + rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/home/user/backup"} /* /home/user/backup + + **Automatic Backups** + + If you want to run backups automatically, the best way to do that would be to set this up through Cron job. + +- Please note that if you want this to run automatically to a separate machine, you will need to configure SSH key pair so that a password is not needed to be entered. + +**Compress and move the files to another server** + + Compress using tar with the appropriate `options `_. You will want to put this into another directory so that tar does not include the .tar file in the archive. + + :: + + cd /home/user/backup + tar zcvf /home/user/server-backup.tar ./ + +**Copy the .tar to another Linux machine using scp** + + :: + + scp /home/user/server-backup.tar + user@ipaddress:/locationofdestination/server-backup.tar + + Alternatively you can also use an application such as `WinSCP `_ to download the file to your Windows desktop. + +**Restore your Backup** + +Once you have re-installed your OS has been reinstalled, you can copy the file back to the server and extract your files. + +1. Copy your files to your server either using `WinSCP `_ or SCP. SCP ex. below. + + :: + + scp user@ipaddress:/locationofdestination/server-backup.tar /mnt + +2. Extract the tar archive to /mnt with the appropriate `options `_. + + :: + + tar xvf /mnt/server-backup.tar + +3. Create a /BOOT folder and mount /dev/sda1 to it and move files from /mnt/boot to /BOOT. + + :: + + mkdir /BOOT + mount /dev/sda1 /BOOT + mv /mnt/boot/* /BOOT/ + +4. Unmount /BOOT/ + + :: + + umount /BOOT/ + +**Mount the required folders and chroot into /mnt** + + :: + + mount /dev/sda1 /mnt/boot/ + mount --bind /dev /mnt/dev + mount --bind /sys /mnt/sys + mount --bind /proc/ /mnt/proc + chroot /mnt/ + +**Install grub** + +- **Redhat/CentOS** + + :: + + grub2-install /dev/sda + +- **Ubuntu** + + :: + + grub-install /dev/sda + grub-update + +**Updating fstab** + After moving everything over, the UUID for the boot partition will need to be changed in fstab. + +1. Find the new UUID with + + :: + + blkid /dev/sda1 + + Ex Output: + + :: + + /dev/sda1: UUID="05221ad7-e319-4339-bb54-36b40f3b1b04" TYPE="xfs" + +2. Open /etc/fstab with a text editor and # out the old UUID then add your new UUID. + + Ex:: + + /dev/mapper/centos-root / xfs defaults 1 1 + #UUID=49eb6416-2512-4129-a4be-f043c45561d5 /boot xfs defaults 1 2 + /dev/mapper/centos-swap swap swap defaults 0 0 + UUID=05221ad7-e319-4339-bb54-36b40f3b1b04 /boot xfs defaults 1 2 + +**Regenerate grub config file** + + :: + + grub2-mkconfig -o /boot/grub2/grub.cfg + +**Exit chroot and unmount the folders** + + :: + + exit + umount /mnt/dev/ + umount /mnt/sys/ + umount /mnt/proc/ + umount /mnt/boot/ + +**Network interface and MAC address** + +- **Redhat/CentOS** + + Your interface and MAC address so you will need to reconfigure your network config file. Using either ip addr or ifconfig -a you should find the correct network adapter name as well as the mac address. + + :: + + [root@test ~]# ifconfig -a + eth0: flags=4163 mtu 1500 + inet 162.253.43.58 netmask 255.255.255.0 broadcast 162.253.43.255 + inet6 2607:ff68:100:a::a0 prefixlen 128 scopeid 0x0 + inet6 fe80::f816:3eff:fe89:5069 prefixlen 64 scopeid 0x20 + ether fa:16:3e:89:50:69 txqueuelen 1000 (Ethernet) + RX packets 10756 bytes 12185686 (11.6 MiB) + RX errors 0 dropped 0 overruns 0 frame 0 + TX packets 10015 bytes 603201 (589.0 KiB) + TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 + + Once you get the correct MAC and network name, you can edit your config file accordingly. I typically just remove the MAC address all together as it isn't required and just change the device name in the config file. + + Here we see the configuration file is named eth0 + + :: + + cd /etc/sysconfig/network-scripts/ + [root@test network-scripts]# ls + ifcfg-eth0 ifdown-post ifup-bnep ifup-routes + ifcfg-eth0-ipv6 ifdown-ppp ifup-eth ifup-sit + ifcfg-lo ifdown-routes ifup-ippp ifup-Team + ifdown ifdown-sit ifup-ipv6 ifup-TeamPort + ifdown-bnep ifdown-Team ifup-isdn ifup-tunnel + ifdown-eth ifdown-TeamPort ifup-plip ifup-wireless + ifdown-ippp ifdown-tunnel ifup-plusb init.ipv6-global + ifdown-ipv6 ifup ifup-post network-functions + ifdown-isdn ifup-aliases ifup-ppp network-functions-ipv6 + + You will want to enter the config file and remove or change the MAC address accordingly or remove it. Below I have hashed it out. You will also want to change the DEVICE name accordingly as well. + + :: + + [root@test network-scripts]#nano ifcfg-eth0 + BOOTPROTO=static + DEVICE=eth0 + #HWADDR=fa:16:3e:89:50:69 + ONBOOT=yes + TYPE=Ethernet + IPADDR=192.168.90.3 + NETMASK=255.255.255.252 + GATEWAY=192.168.92.2 + DNS1=208.115.254.242 + DNS2=208.115.254.250 + + If you want to go back to using eth0 modify the /etc/default/grub file and include + + :: + + net.ifnames=0 + + at the end of + + :: + + GRUB_CMDLINE_LINUX= + + After that run + + :: + + grub2-mkconfig -o /boot/grub2/grub.cfg + reboot + +- **Ubuntu** + + On Ubuntu your network config will also likely need to be modified to work correctly. Use the following to find the following network devices and configure accordingly. + + :: + + sudo lshw -C network + + Then modify the hardware address in + + :: + + /etc/udev/rules.d/70-persistent-net.rules + + If that doesn't help modify grub to include this at the end + + :: + + biosdevname=0 + + at the end of + + :: + + GRUB_CMDLINE_LINUX= + + After that run + + :: + + grub-update + reboot + +**Sources:** + + https://community.spiceworks.com/how_to/114945-centos-7-backup-and-restore + + https://en.wikipedia.org/wiki/Rsync + + https://www.maketecheasier.com/back-up-entire-hard-drive-linux/ + + https://www.computerhope.com/unix/rsync.htm + + https://www.tecmint.com/18-tar-command-examples-in-linux/ + + https://www.cubebackup.com/blog/automatic-backup-linux-using-rsync-crontab/ From 36077d0f0653c7b9a6f12e8584e8f49c8ea50043 Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Sun, 22 Jul 2018 23:48:13 -0500 Subject: [PATCH 02/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 4531738..582b5b8 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -130,7 +130,7 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b /dev/sda1: UUID="05221ad7-e319-4339-bb54-36b40f3b1b04" TYPE="xfs" -2. Open /etc/fstab with a text editor and # out the old UUID then add your new UUID. +2. Open /etc/fstab with a text editor and comment out (#) out the old UUID then add your new UUID. Ex:: @@ -192,7 +192,7 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b ifdown-ipv6 ifup ifup-post network-functions ifdown-isdn ifup-aliases ifup-ppp network-functions-ipv6 - You will want to enter the config file and remove or change the MAC address accordingly or remove it. Below I have hashed it out. You will also want to change the DEVICE name accordingly as well. + You'll want to open the config file in a text editor (i.e. vi, vim, nano), change the MAC address to the new one or remove it completely. Below I have commented(#) it out as this disables it. You will also want to change the DEVICE name accordingly. :: From f022c63ba6af7068ccb7c56487d0cd2089717f76 Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 02:53:45 -0500 Subject: [PATCH 03/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 582b5b8..15dc139 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -273,3 +273,6 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b https://www.tecmint.com/18-tar-command-examples-in-linux/ https://www.cubebackup.com/blog/automatic-backup-linux-using-rsync-crontab/ + + +.. disqus:: From 72b4f858931bd0a23b308717f813a9881c248996 Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 03:11:20 -0500 Subject: [PATCH 04/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 15dc139..4b9cff8 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -2,9 +2,16 @@ How to Create Backups on Linux ============================== -There are various different methods to creating backups on Linux and also may be dependent on your distribution as well as your preferences. Some of these include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for Linux, and CloneZilla to name a few. However in this article, we will be using rsync as our example. - -Please note that the majority of the information in this article was gathered from `SpiceWorks `_. I have condensed or removed parts that were either to long, unnecessary, or irrelevant to just doing a backup. I have also put additional examples and a few links to help with understanding how some of the options work. +There are various different methods to creating backups on Linux and also may be dependent on your distribution as well as your +preferences. Some of these include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for Linux, and CloneZilla to name a few. +However in this article, we will be using rsync as our example. + +Please note that the majority of the information in this article was +gathered from `SpiceWorks +`_. +I have condensed or removed parts that were either to long, unnecessary, +or irrelevant to just doing a backup. I have also put additional +examples and a few links to help with understanding how some of the options work. **Install rysnc** From 20041dc482680d666a4ed5782d84b79a6b057dc9 Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 03:16:10 -0500 Subject: [PATCH 05/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 4b9cff8..7047940 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -6,12 +6,10 @@ There are various different methods to creating backups on Linux and also may be preferences. Some of these include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for Linux, and CloneZilla to name a few. However in this article, we will be using rsync as our example. -Please note that the majority of the information in this article was -gathered from `SpiceWorks -`_. -I have condensed or removed parts that were either to long, unnecessary, -or irrelevant to just doing a backup. I have also put additional -examples and a few links to help with understanding how some of the options work. +Please note that the majority of the information in this article was gathered from `SpiceWorks +`_. I have condensed or removed parts that were either to +long, unnecessary, or irrelevant to just doing a backup. I have also put additional examples and a few links to help with understanding +how some of the options work. **Install rysnc** @@ -41,17 +39,20 @@ examples and a few links to help with understanding how some of the options work :: - rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/home/user/backup"} /* /home/user/backup + rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/home/user/backup"} /* + /home/user/backup **Automatic Backups** If you want to run backups automatically, the best way to do that would be to set this up through Cron job. -- Please note that if you want this to run automatically to a separate machine, you will need to configure SSH key pair so that a password is not needed to be entered. +- Please note that if you want this to run automatically to a separate machine, you will need to configure SSH key pair so that a +password is not needed to be entered. **Compress and move the files to another server** - Compress using tar with the appropriate `options `_. You will want to put this into another directory so that tar does not include the .tar file in the archive. + Compress using tar with the appropriate `options `_. You will want to put + this into another directory so that tar does not include the .tar file in the archive. :: @@ -65,7 +66,8 @@ examples and a few links to help with understanding how some of the options work scp /home/user/server-backup.tar user@ipaddress:/locationofdestination/server-backup.tar - Alternatively you can also use an application such as `WinSCP `_ to download the file to your Windows desktop. + Alternatively you can also use an application such as `WinSCP `_ to download the file to your + Windows desktop. **Restore your Backup** @@ -166,7 +168,8 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b - **Redhat/CentOS** - Your interface and MAC address so you will need to reconfigure your network config file. Using either ip addr or ifconfig -a you should find the correct network adapter name as well as the mac address. + Your interface and MAC address so you will need to reconfigure your network config file. Using either ip addr or ifconfig -a you should + find the correct network adapter name as well as the mac address. :: @@ -181,7 +184,8 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b TX packets 10015 bytes 603201 (589.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 - Once you get the correct MAC and network name, you can edit your config file accordingly. I typically just remove the MAC address all together as it isn't required and just change the device name in the config file. + Once you get the correct MAC and network name, you can edit your config file accordingly. I typically just remove the MAC address all + together as it isn't required and just change the device name in the config file. Here we see the configuration file is named eth0 @@ -199,7 +203,8 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b ifdown-ipv6 ifup ifup-post network-functions ifdown-isdn ifup-aliases ifup-ppp network-functions-ipv6 - You'll want to open the config file in a text editor (i.e. vi, vim, nano), change the MAC address to the new one or remove it completely. Below I have commented(#) it out as this disables it. You will also want to change the DEVICE name accordingly. + You'll want to open the config file in a text editor (i.e. vi, vim, nano), change the MAC address to the new one or remove it + completely. Below I have commented(#) it out as this disables it. You will also want to change the DEVICE name accordingly. :: @@ -236,7 +241,8 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b - **Ubuntu** - On Ubuntu your network config will also likely need to be modified to work correctly. Use the following to find the following network devices and configure accordingly. + On Ubuntu your network config will also likely need to be modified to work correctly. Use the following to find the following network + devices and configure accordingly. :: From 71fc8d7a5d3c43b3390b2fec2947ed2d3a52a4a5 Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 03:23:21 -0500 Subject: [PATCH 06/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 7047940..8749483 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -6,9 +6,10 @@ There are various different methods to creating backups on Linux and also may be preferences. Some of these include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for Linux, and CloneZilla to name a few. However in this article, we will be using rsync as our example. -Please note that the majority of the information in this article was gathered from `SpiceWorks -`_. I have condensed or removed parts that were either to -long, unnecessary, or irrelevant to just doing a backup. I have also put additional examples and a few links to help with understanding +Please note that the majority of the information in this article was gathered from +`SpiceWorks `_. +I have condensed or removed parts that were either to long, unnecessary, or irrelevant to just doing a backup. I have also put +additional examples and a few links to help with understanding how some of the options work. **Install rysnc** From cb86bb89166f368d8d43552ee477f2021fb2c3fe Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 03:30:45 -0500 Subject: [PATCH 07/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 8749483..335e845 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -6,11 +6,11 @@ There are various different methods to creating backups on Linux and also may be preferences. Some of these include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for Linux, and CloneZilla to name a few. However in this article, we will be using rsync as our example. -Please note that the majority of the information in this article was gathered from +Please note that the majority of the information in this article was gathered from `SpiceWorks `_. I have condensed or removed parts that were either to long, unnecessary, or irrelevant to just doing a backup. I have also put additional examples and a few links to help with understanding -how some of the options work. +how some of the options work. **Install rysnc** @@ -48,7 +48,7 @@ how some of the options work. If you want to run backups automatically, the best way to do that would be to set this up through Cron job. - Please note that if you want this to run automatically to a separate machine, you will need to configure SSH key pair so that a -password is not needed to be entered. +password is not needed to be entered. **Compress and move the files to another server** @@ -57,14 +57,14 @@ password is not needed to be entered. :: - cd /home/user/backup + cd /home/user/backup tar zcvf /home/user/server-backup.tar ./ **Copy the .tar to another Linux machine using scp** :: - scp /home/user/server-backup.tar + scp /home/user/server-backup.tar user@ipaddress:/locationofdestination/server-backup.tar Alternatively you can also use an application such as `WinSCP `_ to download the file to your @@ -91,7 +91,7 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b :: mkdir /BOOT - mount /dev/sda1 /BOOT + mount /dev/sda1 /BOOT mv /mnt/boot/* /BOOT/ 4. Unmount /BOOT/ @@ -104,10 +104,10 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b :: - mount /dev/sda1 /mnt/boot/ - mount --bind /dev /mnt/dev - mount --bind /sys /mnt/sys - mount --bind /proc/ /mnt/proc + mount /dev/sda1 /mnt/boot/ + mount --bind /dev /mnt/dev + mount --bind /sys /mnt/sys + mount --bind /proc/ /mnt/proc chroot /mnt/ **Install grub** @@ -116,13 +116,13 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b :: - grub2-install /dev/sda + grub2-install /dev/sda - **Ubuntu** :: - grub-install /dev/sda + grub-install /dev/sda grub-update **Updating fstab** @@ -132,9 +132,9 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b :: - blkid /dev/sda1 + blkid /dev/sda1 - Ex Output: + Ex Output: :: @@ -144,9 +144,9 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b Ex:: - /dev/mapper/centos-root / xfs defaults 1 1 - #UUID=49eb6416-2512-4129-a4be-f043c45561d5 /boot xfs defaults 1 2 - /dev/mapper/centos-swap swap swap defaults 0 0 + /dev/mapper/centos-root / xfs defaults 1 1 + #UUID=49eb6416-2512-4129-a4be-f043c45561d5 /boot xfs defaults 1 2 + /dev/mapper/centos-swap swap swap defaults 0 0 UUID=05221ad7-e319-4339-bb54-36b40f3b1b04 /boot xfs defaults 1 2 **Regenerate grub config file** @@ -160,9 +160,9 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b :: exit - umount /mnt/dev/ - umount /mnt/sys/ - umount /mnt/proc/ + umount /mnt/dev/ + umount /mnt/sys/ + umount /mnt/proc/ umount /mnt/boot/ **Network interface and MAC address** @@ -227,7 +227,7 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b net.ifnames=0 - at the end of + at the end of :: @@ -249,13 +249,13 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b sudo lshw -C network - Then modify the hardware address in + Then modify the hardware address in :: - /etc/udev/rules.d/70-persistent-net.rules + /etc/udev/rules.d/70-persistent-net.rules - If that doesn't help modify grub to include this at the end + If that doesn't help modify grub to include this at the end :: @@ -265,7 +265,7 @@ Once you have re-installed your OS has been reinstalled, you can copy the file b :: - GRUB_CMDLINE_LINUX= + GRUB_CMDLINE_LINUX= After that run From e712eec8d4a37daff033369ac269ea353a734424 Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 03:39:40 -0500 Subject: [PATCH 08/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 335e845..61716ae 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -47,8 +47,7 @@ how some of the options work. If you want to run backups automatically, the best way to do that would be to set this up through Cron job. -- Please note that if you want this to run automatically to a separate machine, you will need to configure SSH key pair so that a -password is not needed to be entered. +- Please note that SSH key pair is required for this to run automatically. **Compress and move the files to another server** From 053c5c7325251ce9e6e92e4332ceb226675535df Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 04:06:18 -0500 Subject: [PATCH 09/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 61716ae..017c5a6 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -2,9 +2,11 @@ How to Create Backups on Linux ============================== -There are various different methods to creating backups on Linux and also may be dependent on your distribution as well as your -preferences. Some of these include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for Linux, and CloneZilla to name a few. -However in this article, we will be using rsync as our example. +There are various different methods to creating backups on Linux and also may +be dependent on your distribution as well as your preferences. Some of these +include Tar, DD, Gnome Disk Utility, Acrois True Image, Norton Ghost for +inux, and CloneZilla to name a few. However in this article, we will be using +rsync as our example. Please note that the majority of the information in this article was gathered from `SpiceWorks `_. @@ -47,7 +49,7 @@ how some of the options work. If you want to run backups automatically, the best way to do that would be to set this up through Cron job. -- Please note that SSH key pair is required for this to run automatically. +- Please note that SSH key pair is required for this to run automatically. **Compress and move the files to another server** From f2b3c0c11ad5e89de5dbcb51f8ea303c962868ff Mon Sep 17 00:00:00 2001 From: JTwyman-Limestone <41532489+JTwyman-Limestone@users.noreply.github.com> Date: Thu, 26 Jul 2018 04:07:44 -0500 Subject: [PATCH 10/10] Update linux_backup_rsync.rst --- .../linux_support/linux_backup_rsync.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst index 017c5a6..8e077d4 100644 --- a/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst +++ b/doc/source/operatingsystem_support/linux_support/linux_backup_rsync.rst @@ -10,9 +10,9 @@ rsync as our example. Please note that the majority of the information in this article was gathered from `SpiceWorks `_. -I have condensed or removed parts that were either to long, unnecessary, or irrelevant to just doing a backup. I have also put -additional examples and a few links to help with understanding -how some of the options work. +I have condensed or removed parts that were either to long, unnecessary, or +irrelevant to just doing a backup. I have also put additional examples and a +few links to help with understanding how some of the options work. **Install rysnc**