Access files stored in pufferpanel directory (not pufferpanel instance) on oracle cloud host

So for some time on my server I was using a backup service that was backing up to directly outside of the pufferpanel directory, and now I need to restore a backup from there, so is there a way I could do this? Thanks in advance.
12 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by interstellar_1#0
Nyuu
Nyuu2y ago
Really depends on how you were backing up and what service you are using If you were just making a copy of the server to another directory (If that's what I understood) you can use the cp command. Example:
cp /path/to/server/backup/* /path/to/server/directory
cp /path/to/server/backup/* /path/to/server/directory
You will need to delete the server files to improve consistency and not mix the 2 versions
Ralex
Ralex2y ago
(you also would have to chown the files back to the pufferpanel user, so the permissions are correct)
Interstellar
InterstellarOP2y ago
The problem I'm actually having is that I can't figure out how to access the pufferpanel directory. apparently it's under .var
Interstellar
InterstellarOP2y ago
but when I ssh into the oracle cloud free host ubuntu oracle linux, these are all the directories that I see.
No description
Interstellar
InterstellarOP2y ago
ubuntu@altaeria2:~$ 1s -a . .. .bash_history .bash_ logout .bashrc .cache .local .profile .selected editor .ssh .sudo_as_admin_ successful duckdns
Ralex
Ralex2y ago
It's /var/lib/pufferpanel
Interstellar
InterstellarOP2y ago
Yeah that's not one of these directories
Ralex
Ralex2y ago
Because you're looking at your home directory.... not in the path provided.
Interstellar
InterstellarOP2y ago
Well that's the question I'm asking, how would I look in the path provided?
Ralex
Ralex2y ago
cd to it....? It's /var/lib/pufferpanel
Interstellar
InterstellarOP2y ago
ah thank you when I tried to cd to just var it didn't work for some reason

Did you find this page helpful?