First backup was successful. Any subsequent backup attempt fails.

Asked by Lewis Boyd

I backed up my entire home directory to a HDD. The first backup was successful. I scheduled it to automatically do this daily. This morning I got this message. "Error creating directory /media/home_dir/Backup1: Permission denied. "

I read about the problem and saw that ~/.dbus made problems with root/root permissions and deleted that file. It had no effect on the outcome, same error. I don't want to continue removing system files without knowing the effect on the operating system.

Is there a way to give Deja Dup root permissions to avoid this problem? If so, what procedure is used to do so? If not, what's a better solution?

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Lewis Boyd
Solved:
Last query:
Last reply:
Revision history for this message
Arjan van Oorspronk (gorphus) said :
#1

I'm having this same problem. It might be interesting to know that it can be temporarily solved by selecting the same storage location and then backup. However, after reboot, the problem is there again.

Revision history for this message
Lewis Boyd (lewboyd) said :
#2

I got no answer and finally decided it was easier to do the process myself. I have a separate HDD I want to use for backups vs. the I also have a separate HDD for large files and prep work. What I decided to do is use rsync. There are web resources you can find for that. This will start a backup process for everything in my Home directory. The command runs in a terminal window and can be used to sync the 2 locations and maintain the backup site with the same files. This can be CRON'd allowing you to schedule how often and when you want to run it.

rsync -avzh --delete-delay --force /home /drive_name

You can use the same command to backup the file HDD the same way. It also runs from remote terminals as well.