[Dirvish] Setting up new backup

Rich Shepard rshepard at appl-ecosys.com
Mon Oct 21 13:05:21 UTC 2019


On Mon, 21 Oct 2019, Paul Slootman wrote:

> Great, you already have UUID :-) I'd change the "defaults 1 2" though.

Paul,

I used the UUID and wondered if the other parameters were wrong. I had
'default  1  2' as the options and just changed them to the above.

>> # less /mnt/backup/salmo-dirvish/dirvish/default.conf
> Hmm, "salmo-dirvish" is not listed above as one of the vaults?

I mis-typed. I meant to type salmo-data. That is the first vault displayed
so I use it for testing.

> With --vault you should specify the vault name, not the client. The hint
> is in the name of the option :)
>
> dirvish --vault salmo-dirvish --init

Ah! I followed this example in the howto-dirvish doc:
sarah:~#  dirvish --vault other.example.com --init

Using the correct syntax produced this:

# dirvish --vault salmo-data --init
The authenticity of host '[salmo.appl-ecosys.com]:<redacted> ([192.168.55.1]:<redacted>)' can't be established.
ED25519 key fingerprint is SHA256:/RInRdtcIMbpPu3LZmpg5wfAWi9ozQwgKLPnTQEDcxg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[salmo.appl-ecosys.com]:14982,[192.168.55.1]:14982' (ED25519) to the list of known hosts.
Permission denied (publickey).
salmo-data:default pre-client failed (65280)

I redacted the ssh port number.

> Please also show your /etc/dirvish/master.conf

This was copied from the old desktop:

bank:
 	/mnt/backup

image-default: %Y%m%d-%H%M
log:	bzip2
index:	bzip2
xdev:	1

exclude:
 	/proc
 	/etc/mtab
 	.kde/share/cache/*
 	.mozilla/firefox/*.default/Cache/*
 	/usr/src/**/*.o
 	*~
 	*.bak
 	lost+found/

post-server: /etc/dirvish/dirvish_mail

# if there is a command, execute it and redirect stderr to 'log', otherwise do an echo for dirvish_mail
pre-client:  echo "PRE_CLIENT_RET_OK - No pre-client installed"
post-client: echo "POST_CLIENT_RET_OK - No post-client installed"

Runall:
 	salmo-root		22:00
 	salmo-home		22:00
 	salmo-opt		22:00
 	salmo-data		22:00

expire-default: never

# keep the sunday backups for 6 months, the dailies for 1 month.
expire-rule:
#	MIN	HR	DOM	MON	DOW	STRFTIME_FMT
 	*	*	*	*	1-6	+1 month
 	*	*	*	*	7	+6 months

Thanks,

Rich



More information about the Dirvish mailing list