Thecus User Group
« Help needed for rsync/rsnapshot »

Welcome Guest. Please Login or Register.
Sept 3, 2010, 12:55pm




Thecus User Group :: N5200/N5200PRO :: Installations :: Help needed for rsync/rsnapshot
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Help needed for rsync/rsnapshot (Read 1,206 times)
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Help needed for rsync/rsnapshot
« Thread Started on Apr 6, 2008, 9:00pm »

Hello to all of you,

I am struggeling with
rsnapshot.

I habe installed perl, rsync and rsnapshot on
one N5200B and perl and rsync on a second N5200B, which
should be the backup machine.

I have edited rsnapshot.conf and
have put the ip of the backup n5200 in
and have made a backup folder on the machine
on which the backups should be saved.

but there ist no backup startet.

as my english is just school english (and school is quite long time ago) I must admit, not to understand, how to configure rsnapshot /rsync. As I have understood rsync hasnŽt even to bestarted, it just has to be insatlled. I have trid to activate the module as well, but nothing happens.

Can anybody help me and explain me, what I have made wrong?

THNAKS very much.

George
Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Re: Help needed for rsync/rsnapshot
« Reply #1 on Apr 8, 2008, 12:51am »

HELP !!!

Is there nobody outside there
who can give me any hints?

How do YOU backup your data?

Greetings
George
Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
Dave
New Member
*
member is offline





Joined: Mar 2008
Gender: Male
Posts: 21
Location: Gloucester, UK or Bangkok, TH
Karma: 0
 Re: Help needed for rsync/rsnapshot
« Reply #2 on Apr 8, 2008, 3:23am »

Hello George,

I use rsync over ssh to backup my N5200B Pro to some disks in a Linux box.

Is there a version of rsync available to install on Windows?

rsync on it's own will do similar to a robocopy on Windows and will only copy changed files so that it doesn't waste bandwidth and it will maintain a "mirror" copy of what you tell it to copy.

I've not used rsnapshot, so I can't comment on that :(

Best regards,
Dave.
Link to Post - Back to Top  IP: Logged
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Re: Help needed for rsync/rsnapshot
« Reply #3 on Apr 8, 2008, 7:45pm »

Hi,

what I would like to be done:

On one Thecus N5200Bpro is my RAID with all my data.
On this N5200B I have installed Perl, Rsync, Rsnapshot
and habe modified the last line of rsnapshot.conf
with the internal IP of the second N5200.

On the second N5200 (Backup-Server)I have installed Perl,
Rsync but no rsnapshot as this N5200 should only
receive data from the first N5200 and shouild be used as
a backup system only.

Both N5200 are connected to the same external gigabit switch
and both are powered on.

On the RAID perl, rsync and rsnapshot are running.
With "crontab -l" I can see three lines added to the crontab.

On the Backup-Server I have added a folder u01 (it coud have any other name, but I left it like it was in the rsnadshop.conf file) so all backup files should be written to that folder.

I have rebooted both N5200 and nothing is happening, no files are
being transferred. I must have forgotten something ....

Anybody any idea?
Nobody using rsync/rsnapshot?

Greetings
George




Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Re: Help needed for rsync/rsnapshot
« Reply #4 on Apr 8, 2008, 7:58pm »

Hi,

I have found something strange:

Afetr rebooting the Raid Server, which should do
the automatic backup, in "crontab -l" the three lines
for starting the cronjob rsnspshot are GONE ....

What the hell is the N5200 doing ......

Greetings
George
Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
omega
God
*****
member is offline





Joined: Dec 2006
Gender: Male
Posts: 872
Karma: 60
 Re: Help needed for rsync/rsnapshot
« Reply #5 on Apr 8, 2008, 8:02pm »

Keep cool man.... ;)

Some of the Linux configuration files (and crontab is amongst these) are rebuild every the system starts up. This is normal.

The most easy solution would be to use my META module and to create a small script which adds the crontab entries and restarts cron.

Andreas
Link to Post - Back to Top  IP: Logged
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Re: Help needed for rsync/rsnapshot
« Reply #6 on Apr 9, 2008, 12:06am »

Hi,

I am running Meta module ...

So IŽll have to add the rsnapshot command lines
again to crontabs/root every time,
the system is rebooted?

O.k. IŽll try.

Thanks for the hint.

Greetings
George
Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
wieselno1
New Member
*
member is offline





Joined: Jan 2008
Gender: Male
Posts: 8
Karma: 0
 Re: Help needed for rsync/rsnapshot
« Reply #7 on Apr 14, 2008, 8:13pm »


Apr 8, 2008, 8:02pm, omega wrote:
Keep cool man.... ;)

Some of the Linux configuration files (and crontab is amongst these) are rebuild every the system starts up. This is normal.

The most easy solution would be to use my META module and to create a small script which adds the crontab entries and restarts cron.

Andreas


Is crontab really being rebuilt at every startup? Because I'm using it with rsync and my added lines don't disappear when I reboot the unit. ???
« Last Edit: Apr 14, 2008, 8:13pm by wieselno1 »Link to Post - Back to Top  IP: Logged
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Re: Help needed for rsync/rsnapshot
« Reply #8 on Apr 15, 2008, 8:12pm »

Hi,
if I log on my N5200Bpro via putty,
I use crontab -l to list all the cronjobs running.

I have added the three lines from rsnspshot module to
the file var/spool/cron/crontabs/root

After rebooting the lines from rsnapshot are gone.

Actually I have added a script, which i being started by meta module,
which replaces the var/spool/cron/crontabs/root
with a cronjobs file, which is placed in the rsnapshot folder
and after rebooting the cronjob file is being replaced
and the crond is starting cron again.

But I must admit, that rsnapshot still does not work at all
and I dont get any feedback / information / logfiles
what is going wrong.


George
(very sad)

Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
omega
God
*****
member is offline





Joined: Dec 2006
Gender: Male
Posts: 872
Karma: 60
 Re: Help needed for rsync/rsnapshot
« Reply #9 on Apr 15, 2008, 8:38pm »

Why are you adding the crontab lines manually? The RSNAPSHOT module does this for you automatically (as with version 1.01.00 dated 2008-04-13)?

Basically, I think you didn't understand the way rsnapshot works (I never worked with it, so this is just my interpretation from reading its description for some minutes):

1) You need to install RSNAPSHOT on your backup server: rsnapshot creates backups by copying the data using rsync from a remote machine (your RAID NAS as you call it).

2) On your source NAS you just need to install RSYNC (and probably SSH if you use it for rsync).

For further help, you should post the relevant parts of your config....

Andreas
Link to Post - Back to Top  IP: Logged
wieselno1
New Member
*
member is offline





Joined: Jan 2008
Gender: Male
Posts: 8
Karma: 0
 Re: Help needed for rsync/rsnapshot
« Reply #10 on Apr 15, 2008, 8:53pm »

If you edit the file "/app/cfg/crond.conf" instead of "var/spool/cron/crontabs/root" and then execute "crontab /app/cfg/crond.conf -u root" to update crontab, your lines won't disappear when rebooting. I don't know if this solves your problem, but it's worth a try.
Link to Post - Back to Top  IP: Logged
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Re: Help needed for rsync/rsnapshot
« Reply #11 on Apr 16, 2008, 8:18pm »

Hello Omega,
hello WeiselNo1,

THANKS A LOT for your hints.

YES, I have done one big mistake:
I am runnung rsnapshot on the machine which I want to backup
on the second system and am running RSYNC only on the
backup system. SO I have done it completely wrong
because of completely misunderstanding

I will change the installation and try and tell you, whether
this was the reason.


Thanks to WieselNo1 for the hints
of changing the cronjobs. I will try and
tell you.

Greetings

George
Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
Gorg vom Ork
Junior Member
**
member is offline

[avatar]

still looking for enlightenment :-)


[homepage]

Joined: Mar 2008
Gender: Male
Posts: 78
Location: Ratingen - Germany
Karma: 1
 Re: Help needed for rsync/rsnapshot
« Reply #12 on Apr 20, 2008, 6:51pm »

Hi,

I have in between installed the new rsnapshot module
an the N5200Bpro, which is meant to be the Back-Up-Server
I have configurated rsnapshot.conf with the IP-Adress
of my RAID and have started rsnapshot.

it still does not work.

which files would anybody need to have a look at, to find ouit,
what I am still doing wrong?

THANKS a lot.

George
Link to Post - Back to Top  IP: Logged

Thecus N5200Bpro FW 2.00.08
Modules: TwonkyMedia 2.00.07, SSHD 2.00.00, SYSUSER 2.00.02, RSYNC 2.00.00, PUREFTP 2.00.07,
(installed in this order)
RAID6 with 5x1000GB Seagate ST31000340NS
hansaplast
New Member
*
member is offline





Joined: Jul 2008
Gender: Male
Posts: 11
Karma: 0
 Re: Help needed for rsync/rsnapshot
« Reply #13 on Sept 14, 2008, 12:06pm »


Apr 15, 2008, 8:53pm, wieselno1 wrote:
If you edit the file "/app/cfg/crond.conf" instead of "var/spool/cron/crontabs/root" and then execute "crontab /app/cfg/crond.conf -u root" to update crontab, your lines won't disappear when rebooting. I don't know if this solves your problem, but it's worth a try.


This works great on my setup :)
Thanks!! ;D
Link to Post - Back to Top  IP: Logged
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webthecususergroup.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Report Abuse | Mobile