1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Deleting attachments after testimport? vb3.8

Discussion in 'Installation, Upgrade, and Import Support' started by ehd, Sep 8, 2013.

  1. ehd

    ehd Active Member

    I'm did my first full import from vb3.8 to 1.2.1 for testing purposes.
    I will empty the database and delete all files for a new attempt. I have several hundred thousands of attachments which are well over 100 gb. It takes quite some time to import....

    Is it wise to leave the attachments-directory untouched?
    What happens after a fresh installation with them?
    Will the files have the same name like after the first import?
    Will they be overwritten or skipped?
    Or worst case, are the names most likely random and they are going to pile up on the harddisk?

    Thanks for your advise :)
     
  2. AndyB

    AndyB Well-Known Member

    Are you using the feature which retains all id's? that would be the best choice.
     
  3. ehd

    ehd Active Member

    Yes, of course I do.
     
  4. AndyB

    AndyB Well-Known Member

    In that case I would think that you could leave the attachments. But if any attachments have been deleted on your live forum since your test import, the attachments in the Xenforo folders would become orphaned. Best bet would be to just delete the attachment folders data and internal_data and allow the import process to create these files once again.
     
  5. ehd

    ehd Active Member

    the question is if leaving the files on the server, will the speed up the process?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    If you're just doing test imports, why not skip the attachment step?
     
  7. ehd

    ehd Active Member

    The pictures are really important for testing, size, placement and so on, so I need them.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    All of those checks can be done post import simply by attaching a few files.
     
  9. AndyB

    AndyB Well-Known Member

    I don't think that it would speed anything up. Your best bet is to delete the new attachments done with the test and do a final import.
     

Share This Page