Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2020 19:23:44 -0700
From:      "@lbutlr" <kremels@kreme.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   rsnapshot
Message-ID:  <3759E97D-0CDA-4503-B585-3DEA8F2E875E@kreme.com>

next in thread | raw e-mail | index | archive | help
I=E2=80=99ve looked for a list on rsnapshot, but not found anything. I =
am setting a backup from one machine to another. This is  brand new =
install of Rsnapshot on a brand new install of FreeBSD 12.1, the server =
the is being backed up is run-in 11.4.

backup	backup@mail.covisp.net:/usr/local/	mail.covisp.net/	=
exclude=3Dcore

This works without errors, but many files are not copied, including none =
of the mail (/usr/local/virtual/[user]@[domain]/ and a large chunk of =
the web content (28GB versus 3GB).

SERVER                            BACKUP
361M    bin                       200M	bin
 44K    dcc                       5.0K	dcc
107M    etc                       5.3M	etc
 33M    i386-portbld-freebsd11.3  46M	i386-portbld-freebsd11.3
 55M    include                   32M	include
841M    lib                       474M	lib
744K    libdata                   814K	libdata
176M    libexec                   311M	libexec
 35M    man                       36M	man
888K    openssl                   534K	openssl
 76M    root                      37M	root
 42M    sbin                      26M	sbin
350M    share                     204M	share
 20K    var                       2.5K	var
 23G    virtual                   148K	virtual
2.6G    www                       1.6G	www

rsnapshot runs on the backup machine and logs in to backup@server using =
a certificate, the user backup@server is in the server=E2=80=99s sudoers =
file with permission to run rsync.

backup ALL=3D(root) NOPASSWD: /usr/local/bin/rsync

Log:
[2020-02-15T19:12:35] /usr/local/bin/rsnapshot hour: started
[2020-02-15T19:12:35] echo 41164 > /var/run/rsnapshot.pid
[2020-02-15T19:12:35] mkdir -m 0755 -p /zroot/backups/.snapshots/hour.0/
[2020-02-15T19:12:35] /usr/local/bin/rsync -a --delete --numeric-ids =
--relative --delete-excluded --exclude=3Dcore --rsh=3D/usr/bin/ssh -i =
/root/backup.key backup@mail.covisp.net:/usr/local/ =
/zroot/backups/.snapshots/hour.0/mail.covisp.net/
[2020-02-15T19:16:10] /usr/local/bin/rsync -a --delete --numeric-ids =
--relative --delete-excluded --exclude=3Dcore --rsh=3D/usr/bin/ssh -i =
/root/backup.key backup@mail.covisp.net:/etc/ =
/zroot/backups/.snapshots/hour.0/mail.covisp.net/
[2020-02-15T19:16:16] /usr/local/bin/rsync -a --delete --numeric-ids =
--relative --delete-excluded --exclude=3Dcore --rsh=3D/usr/bin/ssh -i =
/root/backup.key backup@mail.covisp.net:/backup/db/ =
/zroot/backups/.snapshots/hour.0/mail.covisp.net/
[2020-02-15T19:16:16] /bin/date "+ backup of mail.covisp.net ended at =
%c"
 backup of mail.covisp.net ended at Sat Feb 15 19:16:16 2020
[2020-02-15T19:16:16] touch /zroot/backups/.snapshots/hour.0/
[2020-02-15T19:16:16] rm -f /var/run/rsnapshot.pid
[2020-02-15T19:16:16] WARNING: /usr/local/bin/rsnapshot hour: completed, =
but with some warnings

--=20
I gotta call my glitter guy





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3759E97D-0CDA-4503-B585-3DEA8F2E875E>