eliassorensen
Verified User
- Joined
- Dec 23, 2011
- Messages
- 10
Hello,
I am syncing admin backups from DA to my Dropbox account for extra security.
The way it is done, is that I have created a new user "backup". In that user's home folder, there is a Dropbox folder: /home/backup/Dropbox
In the Dropbox folder, I have made an admin_backup folder, where DirectAdmin should backup to.
But of course, DA doesn't have access to /home/backup/Dropbox/admin_backup
So I have done the following:
1) Create a new usergroup "sharedbackup", and added "admin" and "backup" users to that group
2) chgrp sharedbackup /home/backup/Dropbox/admin_backup
3) Added a symbolic link from /home/backup/Dropbox/admin_backup to /home/admin/dropbox_backup
But when I try to make an admin backup, I get the following error in DA:
Any ideas on what to do? Running CentOS.
------- Edit:
You can see the following output. admin_backup and dropbox_backup is attached to the "sharedbackup" group, and admin is in that group.
[root@srv1 Dropbox]# ls -ld admin_backup/
drwxrwx--- 2 backup sharedbackup 4096 17 jul 10:49 admin_backup/
[root@srv1 admin]# ls -ld dropbox_backup/
drwxrwx--- 2 backup sharedbackup 4096 17 jul 10:49 dropbox_backup/
[root@srv1 admin]# groups admin
admin : admin sharedbackup
I am syncing admin backups from DA to my Dropbox account for extra security.
The way it is done, is that I have created a new user "backup". In that user's home folder, there is a Dropbox folder: /home/backup/Dropbox
In the Dropbox folder, I have made an admin_backup folder, where DirectAdmin should backup to.
But of course, DA doesn't have access to /home/backup/Dropbox/admin_backup
So I have done the following:
1) Create a new usergroup "sharedbackup", and added "admin" and "backup" users to that group
2) chgrp sharedbackup /home/backup/Dropbox/admin_backup
3) Added a symbolic link from /home/backup/Dropbox/admin_backup to /home/admin/dropbox_backup
But when I try to make an admin backup, I get the following error in DA:
Path /home/admin/dropbox_backup does not exist or is not accessible by the admin user.
Permission denied.
Any ideas on what to do? Running CentOS.
------- Edit:
You can see the following output. admin_backup and dropbox_backup is attached to the "sharedbackup" group, and admin is in that group.
[root@srv1 Dropbox]# ls -ld admin_backup/
drwxrwx--- 2 backup sharedbackup 4096 17 jul 10:49 admin_backup/
[root@srv1 admin]# ls -ld dropbox_backup/
drwxrwx--- 2 backup sharedbackup 4096 17 jul 10:49 dropbox_backup/
[root@srv1 admin]# groups admin
admin : admin sharedbackup