Difference between revisions of "Backup Procedures"

From 24PinTech Wiki
Jump to navigation Jump to search
Line 11: Line 11:


==How to back up Logan_Web (10.21.25.11) Manually  DO NOT PREFORM THIS IT WILL BREAK THE SHARE==
==How to back up Logan_Web (10.21.25.11) Manually  DO NOT PREFORM THIS IT WILL BREAK THE SHARE==
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".
Step One; The first and most essential step to backing up Logan_Web onto the Fog server is to register it to the Fog server itself, in order to be able to perform the process. If not already completed, this can be performed by logging into the Fog server and selecting the


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:
Step Two; Next thing's next, you'll be sending a 'Pull request' from Logan to the Fog server. A 'pull request' is submitted through
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    DO NOT PREFORM THIS IT WILL BREAK THE SHARE ==
Step Three; Once the request has been sent over and has gone through, you'll need to pull the image from the Fog server onto Logan. This can be done by 'Pxi Booting', as in, taking it off of the network by booting from Ethernet. By doing this, you'll be initiating the booting process in such a way that the image will begin its installation. You can 'Pxi Boot' a system by going into the boot menu while the device is starting up, and selecting the Ethernet option. The actual process of this may be more complicated, and you can get more insight into it *here*. (Possibly hyperlink to another article if existing, if not then write a short section on it here.)
 
Step Four; Coming to the end now, the final step in your process will be to store the image you've just used in the UnRAID Server, for future usage and documentation. This can be done by first logging into the UnRAID server and then navigating your way to
 
Step Five; Verify full system functionality as any good technician in 24PinTech should, and then your task should be complete.
 
==How to back up Logan_Web (10.21.25.11) automatically    DO NOT PREFORM THIS IT WILL BREAK THE SHARE==
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]
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 20:32, 20 August 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 and typing in the respective IP and logging in with a systems admin login, 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 DO NOT PREFORM THIS IT WILL BREAK THE SHARE

Step One; The first and most essential step to backing up Logan_Web onto the Fog server is to register it to the Fog server itself, in order to be able to perform the process. If not already completed, this can be performed by logging into the Fog server and selecting the

Step Two; Next thing's next, you'll be sending a 'Pull request' from Logan to the Fog server. A 'pull request' is submitted through

Step Three; Once the request has been sent over and has gone through, you'll need to pull the image from the Fog server onto Logan. This can be done by 'Pxi Booting', as in, taking it off of the network by booting from Ethernet. By doing this, you'll be initiating the booting process in such a way that the image will begin its installation. You can 'Pxi Boot' a system by going into the boot menu while the device is starting up, and selecting the Ethernet option. The actual process of this may be more complicated, and you can get more insight into it *here*. (Possibly hyperlink to another article if existing, if not then write a short section on it here.)

Step Four; Coming to the end now, the final step in your process will be to store the image you've just used in the UnRAID Server, for future usage and documentation. This can be done by first logging into the UnRAID server and then navigating your way to

Step Five; Verify full system functionality as any good technician in 24PinTech should, and then your task should be complete.

How to back up Logan_Web (10.21.25.11) automatically DO NOT PREFORM THIS IT WILL BREAK THE SHARE

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

Old manual back up procedures

Server Backup (manually)