Difference between revisions of "Backup Procedures"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==How to back up Logan_Web (10.21.25.11) manually== | ==How to back up Logan_Web (10.21.25.11) manually== | ||
To run a manual backup we need to do something called a "pull request". A pull request is Midgaurd asking Logan_Web "hey give me your files" while a push request would be "hey take all my files". | To run a manual backup we need to do something called a "pull request". A pull request is Midgaurd asking Logan_Web "hey give me your files" while a push request would be "hey take all my files". | ||
Line 8: | Line 5: | ||
sudo rsync -aP [email protected]:/ /mnt/user/Backups/LEMPSTACK_backup/ | sudo rsync -aP [email protected]:/ /mnt/user/Backups/LEMPSTACK_backup/ | ||
This will sync the root of the filesystem from Logan_Web with the LEMPSTACK_backup directory, essentially copying the whole drive. | This will sync the root of the filesystem from Logan_Web with the LEMPSTACK_backup directory, essentially copying the whole drive. | ||
==How to back up Logan_Web (10.21.25.11) automatically== | |||
we use a program called [https://www.linux.com/training-tutorials/get-know-rsync/ rsync] and to use [https://www.linux.com/training-tutorials/get-know-rsync/ rsync] we first need ssh rsa authentication for [https://www.linux.com/training-tutorials/get-know-rsync/ rsync] to work to do that follow this process [http://www.linuxproblem.org/art_9.html here] | |||
# | # |
Revision as of 19:12, 16 April 2021
How to back up Logan_Web (10.21.25.11) manually
To run a manual backup we need to do something called a "pull request". A pull request is Midgaurd asking Logan_Web "hey give me your files" while a push request would be "hey take all my files".
In order to do a pull request with rsync we need to make sure we have ssh rsa authentication for rsync (learn more here) and run the command:
sudo rsync -aP [email protected]:/ /mnt/user/Backups/LEMPSTACK_backup/
This will sync the root of the filesystem from Logan_Web with the LEMPSTACK_backup directory, essentially copying the whole drive.
How to back up Logan_Web (10.21.25.11) automatically
we use a program called rsync and to use rsync we first need ssh rsa authentication for rsync to work to do that follow this process here