This page (revision-17) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
17 23-Apr-2022 17:06 1 KB Harry Metske to previous
16 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
15 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
14 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
13 23-Apr-2022 17:05 1 KB 10.0.0.138 to previous | to last
12 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
11 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
10 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
9 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
8 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
7 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
6 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
5 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
4 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
3 23-Apr-2022 17:05 881 bytes Harry Metske to previous | to last
2 23-Apr-2022 17:05 715 bytes Harry Metske to previous | to last
1 23-Apr-2022 17:05 514 bytes Harry Metske to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 changed one line
Backups go with rsync from the 3 laptops to grafspee (hardware node) with rsync.
Backups go with rsync from the laptop to apollo (hardware node) with a 1TB external USB disk.
At line 5 changed one line
Target directory is {{/var/lib/vz/backup/<user>}}. (%%small /var/lib/vz is mountpoint with 100 GB}}
Target directories are
* {{/mnt/seagate2/harry/athena/home}}
* {{/mnt/seagate2/esther}}
At line 7 removed one line
!! Inrichting
At line 9 removed 6 lines
* grafspee
** {{useradd --home /home/claudia --gid 1001 --create-home --uid 1001 --shell /bin/bash claudia}}
** {{passwd claudia}}
* bismarck:
** {{ssh-keygen}}
** {{ssh-copy-id grafspee}}
At line 16 removed 9 lines
! Unique uid's
||user||uid
|claudia|1001
|esther|500
|anneke|?
At line 38 changed one line
wget --quiet -O - 'http://www.computerhok.nl/JSPWiki/Wiki.jsp?page=RSYNCEXCLUDELIST'|grep EXCLUDEPATTERN | cut -d" " -f2 > $EXCLUDEFILE
wget --quiet -O - 'http://www.computerhok.nl/wiki/Wiki.jsp?page=RSYNCEXCLUDELIST'|grep EXCLUDEPATTERN | cut -d" " -f2 > $EXCLUDEFILE
At line 40 changed one line
rsync --verbose --recursive --delete-excluded --exclude-from=${EXCLUDEFILE} /home/${USER}/ grafspee:/var/lib/vz/backup/${USER}/home/${USER}
rsync --verbose --recursive --delete-excluded --exclude-from=${EXCLUDEFILE} /home/${USER}/ apollo:/mnt/seagate2/harry/athena/home
At line 45 removed 6 lines
Remote execution can be done with the following commands:
{{{
ssh claudia@bismarck bin/rsyncbackup
ssh esther@gladiator bin/rsyncbackup
ssh anneke@interceptor bin/rsyncbackup
}}}
At line 52 changed one line
Rsync off site
!Rsync off site
At line 54 changed 3 lines
To have a remote backup we issue the following cmd on grafspee:\\
{{rsync --verbose --recursive -e 'ssh -p 51982' backup/ 195.64.78.229:/var/lib/vz/backup }}
That should be done with something I still have to setup, plain copying/dumping the 1TB external disk to a second one that is remote.