# Use the site id associated user for ssh when moving database zip backups to their final location

**Project:** Panel | **Board:** Planned | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/3-panel-requests/items/508-use-the-site-id-associated-user-for-ssh-when-moving-database-zip-backups-to-their-final-location

---

Issue: 
Moving a database to a home/username/ folder fails due to permissions.
This is because databases are not sites, so we do not know their usernames to use with moving the file. 

If the database has a site_id associated, when moving the backup, we could get that username and try with it. 


---

## Comments

**Angel** (2023-02-28T13:03:25+00:00):
Alternate solutions:


A- check the destination folder first, check which user is the owner and ssh using that user...?


B- another field to the backup settings: username of the folder. So if you are moving the backup somewhere in the server, you need to provide the username. 


