Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Samba Directory Files Backup

    We have a small office with RH8.0 box running Samba as a File Server - clients are WinXP and Win2000.

    The backups have been "poor-boy"ed - we use zipped tar format on a cron. The script is a home grown Perl script - feeding the tar and building it as it searches through the directories - then dumping it onto another box (hard disk backup).

    Problem is: The windows file names may have "&" or other blinking characters. Tar screws up as a result midways, backups come to s screeching halt.....

    What can we use (open source please....we are working on a shoe string budget!) to perform backups of these windows files...?

    I've seen where Amanda or BRU can do this, seems it requires some dollars.

    I've toyed with the idea of going cpio instead...any thoughts?

    Thanks, all responses appreciated!

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    I'm not sure if I see the problem. tar has no problems dealing with `&' or other characters. I just tried, and I could certainly tar files whose names contain a lot of really strange characters. Are you sure that your problem isn't with proper quoting?

  3. #3
    The problem turns out to be in the perl script that wraps the tar compress command.

    Changed it to be a CPIO command and it seemed to have worked just as well.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts