Roy Krikke
2016-01-19 14:09:22 UTC
Hello,
I'm new to this mailing-list. Forgive me if I ask a question that has been
answered previously.
So whenever I use rsnapshot to backup different directories such as
/home/user_a/Maildir/
or /home/user_b/Maildir/ it backs them up but in the folder specified to
store the backups, it does not keep separate folders for /home/user_a/Maildir/
/home/user_b/Maildir/, instead it just dumps it all together in the
hourly.x folder.
I have another rsnapshot config file that isn't doing this, the difference
is the version of rsnapshot and the OS installed on the host. Why is it
doing this and how can I fix it?
Host A:
- FreeBSD 10.2-RELEASE-p8
- rsnapshot 1.4.0
- rsync 3.1.1 protocol version 31
Host B:
- Ubuntu 14.04.1
- rsnapshot 1.3.1
- rsync 3.1.0 protocol version 31
If I use on Host A rsnapshot.conf (snapshot):
*retain hourly 24*
*#cmd_cp /bin/cp*
* # Mail server host.lan*
* backup ***@host.lan:/home/user_a/Maildir/
<***@host.lan:/home/user_a/Maildir/> host.lan/*
* backup ***@host.lan:/home/user_b/Maildir/
<***@host.lan:/home/user_b/Maildir/> host.lan/ *it does *not *keep
separate folders for /home/user_a/Maildir/ and /home/user_b/Maildir/,
instead it just dumps it all together in the hourly.x folder.
If I use on Host A rsnapshot.conf (snapshot):
*retain hourly 24*
*#cmd_cp /bin/cp*
*# Mail server host.lan*
*backup ***@host.lan:/home/user_a/Maildir/
<***@host.lan:/home/user_a/Maildir/> host.lan/home/user_a/Maildir/*
*backup ***@host.lan:/home/user_b/Maildir/
<***@host.lan:/home/user_b/Maildir/> host.lan/home/user_b/Maildir/ *it
does keep separate folders for /home/user_a/Maildir/ and /home/user_b/Maildir/,
so nice different directories/sub directories in hourly.x folder.
Host B:
- Ubuntu 14.04.1
- rsnapshot 1.3.1
- rsnapshot.conf (snapshot)
*retain hourly 24*
* cmd_cp /bin/cp*
* # Mail server host.lan*
*backup ***@host.lan:/home/user_a/Maildir/
<***@host.lan:/home/user_a/Maildir/> host.lan/*
*backup ***@host.lan:/home/user_b/Maildir/
<***@host.lan:/home/user_b/Maildir/> host.lan/ *it does keep
separate folders for /home/user_a/Maildir/ and /home/user_b/Maildir/, so
nice different directories/sub directories in hourly.x folder.
Why is the behavior of host a and host b different and how can I fix it?
Thank,
Roy
I'm new to this mailing-list. Forgive me if I ask a question that has been
answered previously.
So whenever I use rsnapshot to backup different directories such as
/home/user_a/Maildir/
or /home/user_b/Maildir/ it backs them up but in the folder specified to
store the backups, it does not keep separate folders for /home/user_a/Maildir/
/home/user_b/Maildir/, instead it just dumps it all together in the
hourly.x folder.
I have another rsnapshot config file that isn't doing this, the difference
is the version of rsnapshot and the OS installed on the host. Why is it
doing this and how can I fix it?
Host A:
- FreeBSD 10.2-RELEASE-p8
- rsnapshot 1.4.0
- rsync 3.1.1 protocol version 31
Host B:
- Ubuntu 14.04.1
- rsnapshot 1.3.1
- rsync 3.1.0 protocol version 31
If I use on Host A rsnapshot.conf (snapshot):
*retain hourly 24*
*#cmd_cp /bin/cp*
* # Mail server host.lan*
* backup ***@host.lan:/home/user_a/Maildir/
<***@host.lan:/home/user_a/Maildir/> host.lan/*
* backup ***@host.lan:/home/user_b/Maildir/
<***@host.lan:/home/user_b/Maildir/> host.lan/ *it does *not *keep
separate folders for /home/user_a/Maildir/ and /home/user_b/Maildir/,
instead it just dumps it all together in the hourly.x folder.
If I use on Host A rsnapshot.conf (snapshot):
*retain hourly 24*
*#cmd_cp /bin/cp*
*# Mail server host.lan*
*backup ***@host.lan:/home/user_a/Maildir/
<***@host.lan:/home/user_a/Maildir/> host.lan/home/user_a/Maildir/*
*backup ***@host.lan:/home/user_b/Maildir/
<***@host.lan:/home/user_b/Maildir/> host.lan/home/user_b/Maildir/ *it
does keep separate folders for /home/user_a/Maildir/ and /home/user_b/Maildir/,
so nice different directories/sub directories in hourly.x folder.
Host B:
- Ubuntu 14.04.1
- rsnapshot 1.3.1
- rsnapshot.conf (snapshot)
*retain hourly 24*
* cmd_cp /bin/cp*
* # Mail server host.lan*
*backup ***@host.lan:/home/user_a/Maildir/
<***@host.lan:/home/user_a/Maildir/> host.lan/*
*backup ***@host.lan:/home/user_b/Maildir/
<***@host.lan:/home/user_b/Maildir/> host.lan/ *it does keep
separate folders for /home/user_a/Maildir/ and /home/user_b/Maildir/, so
nice different directories/sub directories in hourly.x folder.
Why is the behavior of host a and host b different and how can I fix it?
Thank,
Roy