Difference between revisions of "Backup Procedures"

From 24PinTech Wiki
Jump to navigation Jump to search
(Created page with "== How to back up Logan_Web (10.21.25.11) manually == # ssh into 10.21.25.11 #")
 
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) 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]
 
==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 [http://www.linuxproblem.org/art_9.html 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.


# ssh into 10.21.25.11
#
#

Revision as of 19:11, 16 April 2021

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

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.