Difference between revisions of "Backup Procedures"
Line 1: | Line 1: | ||
==How to back up Odin (10.21.25. | ==How to back up (Odin 10.21.25.3) & (Friia 10.21.25.4)== | ||
RDP into Odin, and from the start menu type "Windows Server Backup", and from the Snap-in on the left highlight "Local Backup". From here we have a menu to create a back up schedule, a single manual backup, or to recover a backup. From here you can choose to do a manual backup. To do a weekly automatic backup follow this guide [https://www.ubackup.com/windows-server/windows-server-backup-once-a-week-6988.html here] . Alternatively there is an easer way doing it through command prompt The following command will create a Task Scheduler task named '''''WeeklySystemStateBackup''''' that runs every Saturday ( '''''SAT''''' ) at '''''19:00.''''' This task will run ''WEEKLY'' with the ''HIGHEST'' privileges. It will run the Windows Server Backup CLI to backup ''SYSTEMSTATEBACKUP'' to target volume '''''I:'''. (of course these variables are interchangeable to the users liking)'' | RDP into Odin, and from the start menu type "Windows Server Backup", and from the Snap-in on the left highlight "Local Backup". From here we have a menu to create a back up schedule, a single manual backup, or to recover a backup. From here you can choose to do a manual backup. To do a weekly automatic backup follow this guide [https://www.ubackup.com/windows-server/windows-server-backup-once-a-week-6988.html here] . Alternatively there is an easer way doing it through command prompt The following command will create a Task Scheduler task named '''''WeeklySystemStateBackup''''' that runs every Saturday ( '''''SAT''''' ) at '''''19:00.''''' This task will run ''WEEKLY'' with the ''HIGHEST'' privileges. It will run the Windows Server Backup CLI to backup ''SYSTEMSTATEBACKUP'' to target volume '''''I:'''. (of course these variables are interchangeable to the users liking)'' | ||
''SCHTASKS /Create /SC WEEKLY /D '''<Day Of Week> '''/TN '''<TaskName> '''/RL HIGHEST /ST '''<StartTime> '''/TR '''<Windows Server Backup Command>''''' | ''SCHTASKS /Create /SC WEEKLY /D '''<Day Of Week> '''/TN '''<TaskName> '''/RL HIGHEST /ST '''<StartTime> '''/TR '''<Windows Server Backup Command>''''' |
Revision as of 18:49, 18 May 2021
How to back up (Odin 10.21.25.3) & (Friia 10.21.25.4)
RDP into Odin, and from the start menu type "Windows Server Backup", and from the Snap-in on the left highlight "Local Backup". From here we have a menu to create a back up schedule, a single manual backup, or to recover a backup. From here you can choose to do a manual backup. To do a weekly automatic backup follow this guide here . Alternatively there is an easer way doing it through command prompt The following command will create a Task Scheduler task named WeeklySystemStateBackup that runs every Saturday ( SAT ) at 19:00. This task will run WEEKLY with the HIGHEST privileges. It will run the Windows Server Backup CLI to backup SYSTEMSTATEBACKUP to target volume I:. (of course these variables are interchangeable to the users liking)
SCHTASKS /Create /SC WEEKLY /D <Day Of Week> /TN <TaskName> /RL HIGHEST /ST <StartTime> /TR <Windows Server Backup Command>
SCHTASKS /Create /SC WEEKLY /D SAT /TN WeeklySystemStateBackup /RL HIGHEST /ST 19:00 /TR "WBADMIN START SYSTEMSTATEBACKUP -backupTarget: I: -quiet >> C:backupLogs.txt "
This can also be ran manually via the task scheduler.
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