cancel
Showing results for 
Search instead for 
Did you mean: 

Made a local copy

Made a local copy

Hello,

 

I want to made a local copy from my webserver to made some modifcations - testing - upload after finished

My problems:

  1. Backup the database in myPhpAdmin and restore local should work?
  2. Copy with rsync all files from remote server to my local? Or made a big zip file?
  3. When I create or work then local, I have always to update the ownership and rights. I logged in as user dev, use sudo at some commands. Apache run under www-data. The file owner and group are: dev:www-data
    I added dev to www-data ... but when I create a file, the group of the file is "dev" and not "www-data"

 

Thank you

 

web and local are ubuntu server 16 and 18