How do I backup packages?

Far from my work, but I think this explains what you are looking for: