silverstripe / sspak

Tool for managing bundles of db/assets from Silverstripe environments
http://silverstripe.github.io/sspak/
BSD 3-Clause "New" or "Revised" License
47 stars 34 forks source link

mention that tar can be used as an alternative #72

Open Mossman1215 opened 5 years ago

Mossman1215 commented 5 years ago

silverstripe platform requires using sspak but sspak never mentions how to use gnu tar to create archives instead which is the recommended approach from ops for production level assets and database snapshots. sspak often fails https://www.cwp.govt.nz/service-desk/requests/desk/view.php?id=35475

robbieaverill commented 5 years ago

Can you please clarify this request a little @Mossman1215? Also if you could post the relevant parts of that link here that'd be cool - not everyone has access to it =)

Mossman1215 commented 5 years ago

Summary of the conversation:

| I am trying to create and download a snapshot of the assets from the moetec site. The dashboard > appears to create a sspak file correctly, although it is over 5GB. After downloading the file it reports it > as corrupted every time an extraction is tried.

Hi MOss, This is all happening on Ubuntu 18.04 - does the initial "sspak -extract [file]" command use gnu tar? It > is during this command that we are encountering the issue.

Oh don't use sspak ! it literally never works with production level assets and tends to create broken tar packages. use tar -xvf on the sspack instead an you're going to have better luck.

Cheers, Moss

Right well that worked - there is no mention of using tar in the CWP documentation or the SSPAK documentation by the way.

So I'm wondering where to mention a bypass if sspak is failing for devs

robbieaverill commented 5 years ago

Related: https://github.com/silverstripe/sspak/issues/29