Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 6th March 2007, 14:11
capricorn capricorn is offline
Junior Member
 
Join Date: Jan 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default need some more info

Apart from above problem I want to know about this cron job last line
40 2 * * * /usr/bin/rdiff-backup --exclude /tmp --exclude /mnt --exclude /proc --exclude /dev --exclude /cdrom --exclude /floppy server1_backup::/ /backup/server1

" server1_backup::/ /backup/server1 "
As in my case i put the host in config file as server_backup next my backup server name is
bash-3.1$ hostname
mainframebkup.rnd
and its ip is 192.168.0.152 n i prefer to to use ip address then hostname.
so in that case wat should i do to line /back/server1
and also in which directory i found backups in backup server ?
Reply With Quote
Sponsored Links
  #12  
Old 6th March 2007, 18:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by capricorn
when i follow your step i got error i.e
bash-3.1$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.0.254
21
/usr/bin/ssh-copy-id: ERROR: No identities found
( The thing i did here is as follow. I removed ~/.ssh from there.)
bash-3.1$ pwd
/backup/.ssh
What's the output of
Code:
ls -la /backup
,
Code:
ls -la /backup/.ssh
, and
Code:
grep rdiff-backup /etc/passwd
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 6th March 2007, 20:42
capricorn capricorn is offline
Junior Member
 
Join Date: Jan 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

falko i will paste u output tomorrow but i have some query about this crontab
i.e
40 2 * * * /usr/bin/rdiff-backup --exclude /tmp --exclude /mnt --exclude /proc --exclude /dev --exclude /cdrom --exclude /floppy server1_backup::/ /backup/server1

in the last text :://backup/server1
wat this line is doing ? is this the hostname if yes how can i put ip address over here?
becoz i dont get any password option when i do
rdiff-backup server_backup::/boot boot
so i thought to go ahead . if i get some problem i will ask you.
Also where the data will be after the cron job will work ?
Regards.
Reply With Quote
  #14  
Old 6th March 2007, 21:12
capricorn capricorn is offline
Junior Member
 
Join Date: Jan 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

falko no need to reply for above post as i have rdiff working at home I got the above thing. . If i will face any other problem i will ask u.
thanks.

Last edited by capricorn; 6th March 2007 at 21:16.
Reply With Quote
  #15  
Old 9th March 2007, 07:59
capricorn capricorn is offline
Junior Member
 
Join Date: Jan 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

falko it worked fine n even i backup my data from server to backup server day before yesterday. Today i checked it as i changed crontab timings and just execute command i.e rdiff-backup server_backup::/boot boot and got errors .

bash-3.1$ rdiff-backup server_backup::/boot boot
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 285, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 255, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 296, in Backup
backup_set_fs_globals(rpin, rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 418, in backup_set_fs_globals
dest_fsa = rpout.conn.fs_abilities.get_fsabilities_readwrite(
File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 415, in get_fsabilities_readwrite
return FSAbilities(desc_string).init_readwrite(
File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 152, in init_readwrite
subdir.mkdir()
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 796, in mkdir
self.conn.os.mkdir(self.path)
OSError: [Errno 28] No space left on device: 'boot/rdiff-backup-data/rdiff-backup.tmp.0'
Traceback (most recent call last):
bash-3.1$ File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 285, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 253, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 352, in Server
self.get_response(-1)
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 314, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 230, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem probably originated remotely)

Regards.
Reply With Quote
  #16  
Old 10th March 2007, 12:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

What's the output of
Code:
df -h
on both systems?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 12th March 2007, 07:51
capricorn capricorn is offline
Junior Member
 
Join Date: Jan 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

BACKUP SERVER:
bash-3.1$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/ida!c0d2p1 17G 16G 0 100% /
tmpfs 1014M 0 1014M 0% /dev/shm
/dev/ida/c0d0p1 33G 177M 31G 1% /home


MAIN SERVER :
[root@mainserver~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 37G 15G 20G 44% /
/dev/hda1 99M 13M 81M 14% /boot
tmpfs 505M 0 505M 0% /dev/shm
Reply With Quote
  #18  
Old 13th March 2007, 19:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by capricorn
BACKUP SERVER:
bash-3.1$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/ida!c0d2p1 17G 16G 0 100% /
tmpfs 1014M 0 1014M 0% /dev/shm
/dev/ida/c0d0p1 33G 177M 31G 1% /home
Your backup server is full. You must free some space before you can create new backups.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #19  
Old 14th March 2007, 08:43
capricorn capricorn is offline
Junior Member
 
Join Date: Jan 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok
My crontab file is also corrupt dont know how.
when i do crontab -e and insert text in it and try to save it, it give me following error and when i press ENTER it again go to text of file.
crontab.XXXXD7XkXt"
"crontab.XXXXD7XkXt" E514: write error (file system full?)
WARNING: Original file may be lost or damaged
don't quit the editor until the file is successfully written!
Press ENTER or type command to continue

Also when i open the file i got the following error
E297: Write error in swap file
"/tmp/crontab.XXXXBEhvOv" 0L, 0C
Press ENTER or type command to continue

Last edited by capricorn; 14th March 2007 at 08:45.
Reply With Quote
  #20  
Old 14th March 2007, 09:38
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
 
Default

Same as till already said: clean up your full file systems 1st. Have you mounted /tmp on a separate filesystem? Do
Code:
ls -l /tmp
to what's in there and what can be removed. Normally everything in /tmp can be deleted......
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Complete automated backup task antoinel12 General 8 10th November 2006 17:22
automated backup pattech General 3 3rd November 2006 12:15
Automated Backups With rdiff-backup Hans Server Operation 44 30th August 2006 17:17
Automated Backups With rdiff-backup comrade_bronski Server Operation 9 7th July 2006 11:11
Automated backup MathieuMa General 1 13th April 2006 09:33


All times are GMT +2. The time now is 03:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.