Hello,
I'm sorry for the double post, but I've got a kind of weird problem.
If I'm running rsnapshot from the command line with:
rsnapshot -v hourly
everything works very nice as i've stated in my last post.
But if I'm using cron to run rsnapshot it works kind of different:
If a Client is offline it doesn't copy the last hourly backup
(roll-back) but rather skips the backup for that client completely.
(The other clients work perfectly)
In the logfile there isn't a roll-back mentioned as it is if i'm
running rsnapshot from commandline:/
-------------------------------------------------------
Let's say I've got 2 Clients (foo;doo):
(hourly.1 : doo is online, foo is online
hourly.0 : doo is offline, foo is online)
START FROM CRON:
~ # ls -l /DataVolume/backup/hourly.1
drwx------ 3 root root foo
drwx------ 3 root root doo
~ # ls -l /DataVolume/backup/hourly.0
drwx------ 3 root root foo
START FROM COMMANDLINE:
~ # ls -l /DataVolume/backup/hourly.1
drwx------ 3 root root foo
drwx------ 3 root root doo
~ # ls -l /DataVolume/backup/hourly.0
drwx------ 3 root root foo
drwx------ 3 root root doo
-----------------------------------------------------------
Here is my rsnapshot.conf:
http://pastebin.com/xcB4eknp
And here my crontab:
http://pastebin.com/7jrzUtzs
I hope someone has got an idea what is going on...
regards,
Simon
On 29 August 2011 00:05, Simon Lenz <lenz.simon < at > googlemail.com> wrote:
Hello,
Thanks for your answer, but after several hours of testing, i can say
that rsnapshot makes everything on its own in a perfect way!
If an mashine isn't online while trying to backup, rsnapshot makes a
"role-back":
WARNING: Rolling back "lama/"
/opt/bin/cp -al /DataVolume/backup/hourly.1/lama \
/DataVolume/backup/hourly.0/lama
So my fears are completely pointless:) In the end, such
"offline"-backups appear to the user as there were no changes and this
is perfectly the way i wanted it to be:D
And if you shutdown the laptop or whatever while the backup is
running, rsnapshot makes the perfect move, too:
WARNING: Rolling back "lama/"
/opt/bin/rm -rf /DataVolume/backup/hourly.0/lama/
/opt/bin/cp -al /DataVolume/backup/hourly.1/lama \
/DataVolume/backup/hourly.0/lama
Sorry for my confusion in the first post, but now i think everything
went better as expected:)
Regards,
Simon
On 28 August 2011 15:45, paul cooper wrote:
Ive tried to post to the list , but its not working at the moment
Heres how i deal with the situation where the machines arent on all the itme
http://www.medalto.co.uk/?q=node/3
On 28/08/11 12:08, Simon Lenz wrote:
Good Morning everybody!
I've installed rsnapshot on a small homeserver in order to backup
automatically and regularly all clients in the network. The problem
is, that those Clients aren't 24/7 online. Even some Laptops aren't
online for let's say 2 weeks.
I've heard, that rsnapshot doesn't skip the backup if the client is
not reachable but rather makes an empty backup.
If the client is online in the morning and the rest of the day
offline, there will be no daily backup for that day (because the empty
backups kicked out the good backup from the morningt). This will lead
to empty weekly backups and empty monthly backups... So there is no
permanent backup at all.
That's the way I'm thinking right now, but I hope I'm terribly wrong;)
Will I run into trouble if a mashine is offline for let's say 1 month?
Because all the backups from this month are empty?
What is the supposed way to handle such clients?
regards,
Simon
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed.
http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
On 28 August 2011 13:08, Simon Lenz <lenz.simon < at > googlemail.com> wrote:
Good Morning everybody!
I've installed rsnapshot on a small homeserver in order to backup
automatically and regularly all clients in the network. The problem
is, that those Clients aren't 24/7 online. Even some Laptops aren't
online for let's say 2 weeks.
I've heard, that rsnapshot doesn't skip the backup if the client is
not reachable but rather makes an empty backup.
If the client is online in the morning and the rest of the day
offline, there will be no daily backup for that day (because the empty
backups kicked out the good backup from the morningt). This will lead
to empty weekly backups and empty monthly backups... So there is no
permanent backup at all.
That's the way I'm thinking right now, but I hope I'm terribly wrong;)
Will I run into trouble if a mashine is offline for let's say 1 month?
Because all the backups from this month are empty?
What is the supposed way to handle such clients?
regards,
Simon
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss