Permlink Replies: 0 - Pages: 1

Posts: 638
Registered: 5-Dec-2013
High Recoverability (from disaster)
Posted: 27-Feb-2018 13:46
  Click to reply to this thread Reply
With even high end desktop computers becoming affordable to consumers, recovery from storage failure should be given utmost attention. A working and fully functional backup of system and user data comes at virtually no expense. One of the machines running jAlbum has three disk drives:

HDD Total Size: 4572.9GB (43.8% used)

ID-1: /dev/nvme0n1 model: Samsung_SSD_950_PRO_512GB size: 512.1GB
ID-2: /dev/sda model: WDC_WD40EZRX size: 4000.8GB
ID-3: /dev/sdb model: KINGSTON_SV300S3 size: 60.0GB

Data are residing on 4 Partitions:

System data:
Primary: ID-1: / size: 32G used: 15G (51%) fs: ext4 /dev/nvme0n1p2
Backup: ID-2: / size: 28G used: 7.8G (30%) fs: ext4 /dev/sdb1

User data:
Primary: ID-3: /home size: 407G used: 164G (41%) fs: ext4 /dev/nvme0n1p3
Backup: ID-5: /home size: 3.6T used: 1.6T (46%) fs: ext4 /dev/sda4

The primary system holds openSUSE Tumbleweed and gets updated on an weekly schedule. The backup system is identical and gets updated a few times per year. Backup of user data works on a daily schedule. rsync copies changed user data to the backup partition. Implementation through systemd is straight forward:


erlangen:~ # cat /etc/systemd/system/backup-albums.timer
Description=Backup of jAlbum projects
erlangen:~ # 


erlangen:~ # cat /etc/systemd/system/backup-albums.service
Description=Backup jAlbum projects
ExecStart=/usr/bin/rsync -a /home/Albums/Bilder/ /home-HDD/backup/home/Albums/Bilder/ 
erlangen:~ # 

Several implementations of rsync are available for Windows and Mac.
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums