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
[{TableOfContents }]
Backups go with rsync from the 3 laptops to grafspee (hardware node) with rsync.
At line 5 changed 2 lines
\\
Backups go with rsync from the laptop to apollo (hardware node) with a 1TB external USB disk.
Target directory is {{/var/lib/vz/backup/<user>}}. (%%small /var/lib/vz is mountpoint with 100 GB}}
At line 8 changed 3 lines
Target directories are
* {{/mnt/seagate2/harry/athena/}}
* {{/mnt/seagate2/esther}}
!! Inrichting
At line 12 changed one line
!!! Backup with rsync
* 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 14 removed 9 lines
{{{
cd ~
rsync -a . apollo.computerhok.nl:/mnt/sdb2/esther/
}}}
{{{
sent 19455014824 bytes received 2494918 bytes 9950145.61 bytes/sec
total size is 34192630272 speedup is 1.76
rsync warning: some files vanished before they could be transferred (code 24) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
}}}
At line 17 added one line
! Unique uid's
At line 25 changed 3 lines
Or for my MacBook:
{{{
time rsync -a .cf .ssh .gnupg .flyrc .zsh_history .zshrc .aws .credhub .oh-my-zsh .git-credentials .gitconfig Pictures .zoomus .bashrc .bash_history Documents workspace Downloads go apollo:/mnt/seagate/harry/athena
||user||uid
|claudia|1001
|esther|500
|anneke|?
At line 29 removed 6 lines
}}}
{{{
sent 9,778,021,581 bytes received 1,117,494 bytes 10,331,895.48 bytes/sec
total size is 9,771,719,145 speedup is 1.00
}}}
!!! The old way (not used anymore)
At line 49 changed one line
wget --quiet -O - 'http://www.computerhok.nl/wiki/Wiki.jsp?page=RSYNCEXCLUDELIST'|grep EXCLUDEPATTERN | cut -d" " -f2 > $EXCLUDEFILE
wget --quiet -O - 'http://www.computerhok.nl/JSPWiki/Wiki.jsp?page=RSYNCEXCLUDELIST'|grep EXCLUDEPATTERN | cut -d" " -f2 > $EXCLUDEFILE
At line 51 changed one line
rsync --verbose --recursive --delete-excluded --exclude-from=${EXCLUDEFILE} /home/${USER}/ apollo:/mnt/seagate2/harry/athena/home
rsync --verbose --recursive --exclude-from=${EXCLUDEFILE} /home/${USER}/ grafspee:/var/lib/vz/backup/${USER}/home/${USER}
At line 55 removed 5 lines
!Rsync off site
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.