How to copy /var/www folder from Ubuntu to Windows?

Discussion in 'General' started by ikrudolf, Nov 2, 2015.

  1. ikrudolf

    ikrudolf Member

    How should I do this? Via FTP an option?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Make a tar.gz file of the /var/www folder and then copy it wo windows e.g. with the free winscp program.
     
  3. ikrudolf

    ikrudolf Member

    Can you please advise me what the correct command should be?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    To create a tar.gz file? Use e.g.:

    tar pcfz www.tar.gz /var/www

    to create the tar.fz file in the current folder. Just ensure that you are not in /var/www while you run this command.
     

Share This Page