Difference between revisions of "Backup Procedures"
Line 3: | Line 3: | ||
RDP into Odin (or Friia) via pressing the windows key and typing rdp, from there 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 on the right, select "Backup Once...". > Different Options > Full server > Remote Shared Folder > \\10.21.25.13\Backups > hit backup and wait for it to complete the backup. | RDP into Odin (or Friia) via pressing the windows key and typing rdp, from there 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 on the right, select "Backup Once...". > Different Options > Full server > Remote Shared Folder > \\10.21.25.13\Backups > hit backup and wait for it to complete the backup. | ||
=== Automated === | ===Automated (W.I.P)=== | ||
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)'' ([https://techcommunity.microsoft.com/t5/storage-at-microsoft/customizing-windows-server-backup-schedule/ba-p/423808 Source]) | 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)'' ([https://techcommunity.microsoft.com/t5/storage-at-microsoft/customizing-windows-server-backup-schedule/ba-p/423808 Source]) | ||
''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 21:19, 29 July 2021
How to back up (Odin 10.21.25.3) & (Friia 10.21.25.4) Manually
RDP into Odin (or Friia) via pressing the windows key and typing rdp, from there 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 on the right, select "Backup Once...". > Different Options > Full server > Remote Shared Folder > \\10.21.25.13\Backups > hit backup and wait for it to complete the backup.
Automated (W.I.P)
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) (Source)
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