simple-backup writes into /media/ if disk not found
Bug #360432 reported by
Tombigel
This bug report is a duplicate of:
Bug #346285: Add option to abort backup if destination directory does not exist.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbackup (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sbackup
I have a USB disk mounted to /media/sdd1 and defined as sbackup target.
Today I started working and got tons of errors, after fiddling around i found out that my "/" disk is full.
Only after I unmounted all of my other disks I discovered that today's backup was created in /media/sdd1 *directory* instead of on the mounted media, and just filled up the entire disk.
Ubuntu 8.10
To post a comment you must log in.
Your problem is properly what '/media/sdd1' is not permanent mounted. sbackup check if target exists - if not it create a directory and starts the backup.
Perhaps sbackup should be changed so when a backup target is declared it should stamp the target directory with a stamp file there declare the target as an target for backups. When sbackup starts backing up it should precheck for the stamp file. If the stamp file is missing it should notify the user before doing the backup.
--
Jakob Hilmer