Transfer Uploads - SQL Commands

Instructions to transfer uploads using SQL commands.

  • Tar Uploads: Create a tar archive of the uploads folder.
    tar -zcvf filename.tar.gz foldername
  • Transfer Uploads: Transfer the tar archive to the current location.
    scp root@IP_ADDRESS:/var/www/html/PLACEHOLDER.tar.gz .
  • Untar: Extract the contents of the tar archive.
    tar xvf uploads.tar.gz