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== | ||
we use a program called [https://www.linux.com/training-tutorials/get-know-rsync/ rsync], to run a manual backup with rsync 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 [http://www.linuxproblem.org/art_9.html here]) and run the command: | In order to do a pull request with rsync we need to make sure we have ssh rsa authentication for rsync (learn more, or if rsa is not set up/needs to be setup instructions [http://www.linuxproblem.org/art_9.html here]) and run the command: | ||
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. |
Revision as of 19:14, 16 April 2021
How to back up Logan_Web (10.21.25.11) manually
we use a program called rsync, to run a manual backup with rsync 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, or if rsa is not set up/needs to be setup instructions 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