Editing
Home systems
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Backing up the server == Run the following command on the desktop which has the backup disk mounted. This will backup /home to the backup drive, and this command should be repeated for each filesystem on linux server. rsync is now enabled on the msgsb.com server. rsync -avzH linux2:/home2 /media/mhamilton/Seagate\ Backup\ Plus\ Drive/home2/ Also this can be run on the pi at the condo. Login to the condo pi and run the following commands: ssh pi@h-condo.dyndns.org rsync -avzh mhamilton@msgsb.com:/home3 /backup-msgsb/home3 To setup ssh to not query for passwords, from the pi: ssh-keygen ssh-copy-id -i ~/.ssh/id_rsa.pub mhamilton@msgsb.com To run the following backup command: rsync -avzh --rsync-path="sudo rsync" rsyncuser@nextcloud:/home/rsyncuser/ /backup-nextcloud the sudoers file on the nextcloud server must be updated with the following line added: rsyncuser ALL=(ALL) NOPASSWD: ALL === Current implemented procedure === The nextcloud server has a user (rsyncuser) which runs a backup process every saturday night at 3am. This process is run from the script "backup.sh". It runs the nextcloud.export process which creates a backup copy of the nextcloud environment (hopefully) in a backup area within the "common/backups" folder in nextcloud environment. This backup is then moved to the location within the rsyncuser file system space. Next the rpi runs a script sunday morning at 4am using rsync to copy the data from the rsyncuser file system to the rpi backup disk. The backup disk is currently "/dev/sdb1" partition. At 3am the rpi runs a script to rsync the /home2,3,4 filesystems from the linux1 server to the "/dev/sda1" disk.
Summary:
Please note that all contributions to SoftwareGuy may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SoftwareGuy:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information