Mass Movement of Data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • inztinkt
    Junior Member
    • Jun 2005
    • 26

    Mass Movement of Data

    Hey there all, this is fairly similar to the last topic i posted in but according to Andrew the method suggested (using SSH to move content) will not work and is not supported here at Dathorn.

    So i ask you all, what is the simplest way to move a whole photo gallery from one domain to another on the same server.

    Thanks guys.
    <!-- // Blah! // -->
  • sdjl
    Senior Member
    • Mar 2004
    • 502

    #2
    I use SSH to backup and move data.
    You can tar (basically zip) an entire folder and then use ncftp to login to another account you have on the server to transfer that tarred folder

    Tar:
    tar -cz folder > folder-backup.tar.gz

    FTP:
    ncftp -u USERNAME -p

    You'll then be prompted for a password (in theory).
    Then enter:

    put folder-backup.tar.gz

    It should be that simple. I may have missed a couple of commands off as i'm doing this off the top of my head

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?

    Comment

    • AndrewT
      Administrator
      • Mar 2004
      • 3653

      #3
      What was meant by not supported was that we do not support the teaching of how to actually do it. We provide support on technical problems only.

      Comment

      • sdjl
        Senior Member
        • Mar 2004
        • 502

        #4
        That's why these forums are here. For others to give advice to you

        David
        -----
        Do you fear the obsolescence of the metanarrative apparatus of legitimation?

        Comment

        • openbox
          Senior Member
          • Mar 2004
          • 238

          #5
          If you don't want to bother tar'ing your files, you should just be able to put *.* or SCP *.*. It is server to server so it really should take no time at all. In fact, it will probably take longer to actually tar and move than to just move in the first place.

          Comment

          • inztinkt
            Junior Member
            • Jun 2005
            • 26

            #6
            Sorry Andrew i missunderstood. My bad.
            and thanks for the help everyone, i'll give it a shot in the morning.
            <!-- // Blah! // -->

            Comment

            • inztinkt
              Junior Member
              • Jun 2005
              • 26

              #7
              sdjl, i have managed to get the tar.gz file to the new site.
              but now i cannot manage to extract the tar file, is this the right syntax :
              tar -xz folder-backup.tar.gz


              and btw openbox, it seems that when i scp a folder it doesnt copy the subdirectories. any ideas ?

              Originally posted by sdjl
              I use SSH to backup and move data.
              You can tar (basically zip) an entire folder and then use ncftp to login to another account you have on the server to transfer that tarred folder

              Tar:
              tar -cz folder > folder-backup.tar.gz

              FTP:
              ncftp -u USERNAME -p

              You'll then be prompted for a password (in theory).
              Then enter:

              put folder-backup.tar.gz

              It should be that simple. I may have missed a couple of commands off as i'm doing this off the top of my head

              David
              <!-- // Blah! // -->

              Comment

              • sdjl
                Senior Member
                • Mar 2004
                • 502

                #8
                I use:

                tar xvzf folder-backup.tar.gz

                David
                -----
                Do you fear the obsolescence of the metanarrative apparatus of legitimation?

                Comment

                • inztinkt
                  Junior Member
                  • Jun 2005
                  • 26

                  #9
                  ye i just realised that i didnt put f in there to tell it which file to untar...
                  <!-- // Blah! // -->

                  Comment

                  Working...