Backup to a mounted samba share

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Backup to a mounted samba share

Martin Kos
hi

i have a synology disk station DS-101 [1] which is an harddrive in a
smart case with an linux running in it and you can access it through the
network. i tried to install rdiff-backup on the box but failed :-( if
anybody has got rdiff-backup to work on this thing i would be very happy
to here from you!

so i thought perhaps i can use rdiff-backup when i mount the samba share
on my host (i used cifs) but rdiff-backup stops with the attached error
when i use a mounted samba share as destination.

i used rdiff-backup 1.1.5.

is this a problem of unsupported filesystem functions of the cifs?

greets
  KoS

[1] http://www.synology.com/enu/products/diskstation/index.php
--
Martin Kos                                       +41-76-384-93-33
http://kos.li        Say NO to HTML in mail         ICQ# 13556143
                 Proudly running Debian GNU/Linux



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Backup to a mounted samba share

Dave Kempe
Martin Kos wrote:
> so i thought perhaps i can use rdiff-backup when i mount the samba share
> on my host (i used cifs) but rdiff-backup stops with the attached error
> when i use a mounted samba share as destination.
>
> i used rdiff-backup 1.1.5.
>
> is this a problem of unsupported filesystem functions of the cifs?

Hi Martin,
there was no attached error, but I have used cifs extensivly and its
pretty sweet. If you send the error I hope we can make it work.

dave


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Backup to a mounted samba share

Martin Kos
hi dave

> there was no attached error, but I have used cifs extensivly and its
> pretty sweet. If you send the error I hope we can make it work.
oh..sorry i have forgot to send the file :-(

i'm not sure if its a problem with rdiff-backup, i have just tried to
rdiff-backup to another cifs drive (mounted from my normal server) and
it worked just fine. perhaps a bug in the samba used on the ds-101.

  Martin
--
Martin Kos                                       +41-76-384-93-33
http://kos.li        Say NO to HTML in mail         ICQ# 13556143
                 Proudly running Debian GNU/Linux

rdiff-backup software/ /mnt/test/xx
Exception '' raised of class 'exceptions.AssertionError':
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 315, in Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 271, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 325, in Backup
    rpout.conn.fs_abilities.backup_set_globals(rpin)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 602, in backup_set_globals
    dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 138, in init_readwrite
    self.set_case_sensitive_readwrite(subdir)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 242, in set_case_sensitive_readwrite
    assert not upper_a.lstat()

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 315, in Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 271, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 325, in Backup
    rpout.conn.fs_abilities.backup_set_globals(rpin)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 602, in backup_set_globals
    dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 138, in init_readwrite
    self.set_case_sensitive_readwrite(subdir)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 242, in set_case_sensitive_readwrite
    assert not upper_a.lstat()
AssertionError

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki