Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 17th January 2010, 06:40
atjensen11 atjensen11 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default Backup Script now Failing

Hello,

I have been running a backup script. The link to the full script is here.

I use the rdiff-backup option in the script. The script has been working fine until a few nights ago. I was doing general maintenance on the server. I performed an apt-get update and apt-get upgrade. The other task I did was add a RAID 5 array to the server. I can't foresee the impact either of these would have on the backup script.

In any event, here is the error message I receive from one of the backups.

Code:
xenBackup: backing up domain: test.example.com
xenBackup: Mounting /dev/data/test.example.com-files read-only
xenBackup: backing up domain test.example.com to /mnt/wd/backup/test.example.com.rdiff-backup.mirror/home/user/files using rdiff-backup
Exception '[Errno 95] Operation not supported: '/mnt/wd/backup/test.example.com.rdiff-backup.mirror/home/user/files/rdiff-backup-data/rdiff-backup.tmp.0'' raised of class '<type 'exceptions.OSError'>':
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 334, in Backup
    rpout.conn.fs_abilities.backup_set_globals(rpin, force)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 919, in backup_set_globals
    dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 152, in init_readwrite
    subdir.mkdir()
  File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 983, in mkdir
    self.conn.os.mkdir(self.path)

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 334, in Backup
    rpout.conn.fs_abilities.backup_set_globals(rpin, force)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 919, in backup_set_globals
    dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 152, in init_readwrite
    subdir.mkdir()
  File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 983, in mkdir
    self.conn.os.mkdir(self.path)
OSError: [Errno 95] Operation not supported: '/mnt/wd/backup/test.example.com.rdiff-backup.mirror/home/user/files/rdiff-backup-data/rdiff-backup.tmp.0'
xenBackup: purging increments older than 120D from /mnt/wd/backup/test.example.com.rdiff-backup.mirror/home/user/files
Fatal Error: Could not open rdiff-backup directory

/mnt/wd/backup/test.example.com.rdiff-backup.mirror/home/user/files/rdiff-backup-data

due to

[Errno 95] Operation not supported: '/mnt/wd/backup/test.example.com.rdiff-backup.mirror/home/user/files/rdiff-backup-data/rdiff-backup.tmp.0'


xenBackup: FAILURE: error backing up domain test.example.com
xenBackup: Cleaning up
xenBackup: FAILURE: backup completed with some failures
When I read the error message, I though the drive was not mounted. I have verified the drive is mounted and has space available. Can anyone shed some light on what I should do to fix the problem?

Last edited by atjensen11; 17th January 2010 at 06:43.
Reply With Quote
Sponsored Links
 

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
ISPConfig 3 - back-res a Backup and Restore script go0ogl3 Plugins/Modules/Addons 217 23rd July 2014 15:23
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Online Backup : What do you use and how do you setup it ? XZed Technical 5 4th January 2010 18:02
ISPConfig Backup Script vaio1 General 14 13th November 2009 14:23
Shell Script backup a file HELP anything Programming/Scripts 4 5th February 2008 18:09


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


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