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 gaan met rsync van de 3 laptops naar de grafspee (hardware node) m.b.v. rsync.
[{TableOfContents }]
At line 5 changed one line
Target directory is {{/var/lib/vz/backup/<sysname>}}. (%%small /var/lib/vz is mountpoint met 100 GB}}
\\
Backups go with rsync from the laptop to apollo (hardware node) with a 1TB external USB disk.
At line 7 changed 4 lines
Systemen zijn:
* bismarck claudia)
* gladiator (esther)
* interceptor (anneke)
Target directories are
* {{/mnt/seagate2/harry/athena/}}
* {{/mnt/seagate2/esther}}
At line 12 changed one line
!! Inrichting
!!! Backup with rsync
At line 14 changed 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}}
{{{
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 22 changed one line
! Unique uid's
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
At line 24 changed 6 lines
||user||uid
|claudia|1001
|esther|500
|anneke|?
! rsync proces
}}}
At line 31 changed one line
rsync --recursive --exclude='/home/${USER}/.cache' --exclude='/home/${USER}/.config' --exclude='/home/${USER}/.java' /home/${USER} grafspee:/var/lib/vz/backup/bismarck
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
At line 34 added one line
!!! The old way (not used anymore)
At line 34 removed one line
At line 40 added 2 lines
!! Rsync execution
At line 46 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 48 changed one line
rsync --verbose --recursive --exclude-from=${EXCLUDEFILE} /home/claudia/ grafspee:/var/lib/vz/backup/bismarck/
rsync --verbose --recursive --delete-excluded --exclude-from=${EXCLUDEFILE} /home/${USER}/ apollo:/mnt/seagate2/harry/athena/home
At line 55 added 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.