Announcement

Collapse
No announcement yet.

Mounting and backing up to separate disk

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mounting and backing up to separate disk

    I have a separate hard disk for backups.
    For ages I have had the disk mounted (using fstab) as /mnt/bak
    and my cron job was like....
    #!/bin/bash
    rsync -urC --delete /home/robert/Shared/mp3s /mnt/bak/

    Now my primary partition became full because the backup was going to 2 places
    /mnt/bak/
    and
    /media/disk/ (which does not show up in fstab)

    I have changed my cron jobs to be like
    rsync -urC --delete /home/robert/Shared/mp3s /media/disk/

    but I want to know if that is correct and if the current disk for /media/disk/ could change.

    #2
    Re: Mounting and backing up to separate disk

    Originally posted by robfish

    but I want to know if that is correct and if the current disk for /media/disk/ could change.
    If it is a USB-connected drive, then the answer is "YES", it could change.

    Plug in any other USB device first, then plug in your USB hard drive, and see what the device number turns out to be.

    Comment


      #3
      Re: Mounting and backing up to separate disk

      No it is a permanently connected SATA drive in my PC.

      Comment

      Working...
      X