On Tue, Aug 12, 2014 at 1:36 PM, Jacob Waller <[email protected]> wrote: > Hi, > > What do you mean “cleaned up”? > > We used the following command to download our latest backup. > > envdir /etc/wal-e.d/env wal-e backup-fetch /path/to/pg LATEST > > When it’s downloading the backup files it’s downloading those files to the > server correct? After it’s done executing those files does wal-e remove them > from the server? Wal-e sends this information to the logs "MSG: beginning > partition download DETAIL: The partition being downloaded is > part_[number].lzo". It does not say where it is getting downloaded too. We > are wondering after it’s downloaded and executed does it delete all of the > base backup lzo files from the server. If it does not delete the lzo files > where do they get downloaded to?
They're extracted on the spot to /path/to/pg. You don't want them to be deleted: it is the data. > Delete Issue > > We used the following command to push a new base backup up today. > > envdir /etc/wal-e.d/env wal-e backup-push /path/to/pg > > Then we wanted to delete the old base backup along with all of it’s wal > files. To delete old base backups we run the following command. > > envdir /etc/wal-e.d/env wal-e delete --confirm before [base_backup_id] > > The result from this delete statement was the base backup was deleted > properly. Also some of the lzo files were deleted but not all of them. I > would have expected all wal files that were generated before the last base > backup was created would have also been destroyed. But after the delete > finished some lzo files remained from the previous day. The weird part is > that it cleaned up a lot of the previous days wal files. It only left a > dozen or so. Like I said most of them were removed. So we are concerned that > the delete command is not cleaning up all of the wal files it should. > > We also tried to run the following command and that one failed with a Python > error. You need some WAL files to be able to restore a backup. "before" is exclusive, not inclusive, so the backup (and the necessary WAL segments) remain intact. -- You received this message because you are subscribed to the Google Groups "wal-e" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
