home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 79 
 Vincent Coen to Rick Smith 
 Backup 
 09 Jun 20 15:42:32 
 
REPLY: 1:340/202.1 5edf084f
MSGID: 2:250/1@fidonet 5edfa1a7
CHRS: UTF-8 2
TZUTC: 0100
TID: MBSE-FIDO 1.0.7.17 (GNU/Linux-x86_64)
Hello Rick!

Monday June 08 2020 20:54, you wrote to All:

 > Greetings All!


 > I was wondering if anyone can recommend a backup program, I would like
 > to run (auto if possible) routine that can back up certain directories
 > and ftp it to my NAS, I have a routine for the ftp part if the backup
 > program cant do that piece..

I use rsync as two streams for  / partition as root and /home for all user
areas.

See below scripts :

Home :

#!/bin/bash
time rsync -avvuhh --stats --delete --exclude=/home/vince/Music2 /home
/home/vince/Music2/Backups > rsync-home.log 2>rsync-home.err
exit 0


Boot:

#!/bin/bash
time rsync -avvuhh --stats --delete --exclude=/dev --exclude=/proc
--exclude=/mnt --exclude=/run --exclude=/tmp --exclude=/home --exclude=/media
--exclude=/sys / /home/vince/Music2/Backups/SSD-Mageia-v7-HDD > rsync-root.log
2>rsync-root.err
exit 0


Mind you trying to make an image of the boot (/) back up to another drive (a
SSD) mounted as /mnt/disk1 does not work as it create a directory 2 with 2
blocks of restored data as / and disk1 both in the directory I am running it
from.

Mounted devices :

$ df
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc3        88G   18G   66G  22% /mnt/disk1
/dev/sda9       992G  607G  335G  65% /home
/dev/sdb1       2.7T  873G  1.9T  32% /home/vince/Music2

I have ommitted some systems.


Vincent

--- Mageia Linux v7.1 X64/Mbse v1.0.7.13/GoldED+/LNX 1.1.5-b20180707
 * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
SEEN-BY: 1/123 14/5 15/0 2 16/101 19/36 20/4609 90/1 104/115 106/201
SEEN-BY: 114/224 702 705 706 116/18 120/340 601 123/131 140 128/2
SEEN-BY: 128/73 187 253 153/7715 218/700 222/2 226/30 227/114 702
SEEN-BY: 229/424 426 616 664 1014 230/150 152 240/1120 5832 249/206
SEEN-BY: 249/307 317 400 250/1 261/38 100 266/512 267/155 275/100
SEEN-BY: 282/1031 1056 291/100 111 292/854 298/25 305/1 3 310/2 312/2
SEEN-BY: 317/3 320/119 219 322/757 340/400 341/66 342/200 396/45 640/1321
SEEN-BY: 712/848 801/161 189 2320/105 3005/1 3634/12 5020/715 1042
PATH: 250/1 261/38 15/0 317/3 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca