How to backup updates

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

How to backup updates

Postby balvinder on Thu Aug 21, 2008 12:37 pm

Hi all,

I would like to know how we could backup or save the downloads that are done by the system .i.e system updates in mint..
I would like to save them as i have a very slow internet connection ..
Please guide and thanks in advance..

Balvinder
User avatar
balvinder
Level 1
Level 1
 
Posts: 21
Joined: Wed Jul 23, 2008 3:59 pm
Location: India , New Delhi

Linux Mint is funded by ads and donations.
 

Re: How to backup updates

Postby Google Spider on Thu Aug 21, 2008 4:03 pm

Hi,

I usually do this to backup the packages:
(open a terminal)
Code: Select all
mkdir packagebackup


Code: Select all
sudo cp /var/cache/apt/archives/* /home/abhishek/packagebackup

(Replace with your username, ofcourse)

Copy the folder "packagebackup" from your Home directory to a USB pendrive or wherever you want to store the backup.

Now when you want to reinstall updates (that is after a fresh install of mint), just copy all those files back to the same place with:

Code: Select all
sudo cp /path/to/packagebackup/*  /var/cache/apt/archives


Then do
Code: Select all
sudo apt-get update


Now when you open Mint Update, it will use the locally stored debs instead of downloading from the internet to update.
Google Spider
Level 2
Level 2
 
Posts: 86
Joined: Thu Apr 03, 2008 10:45 am

Re: How to backup updates

Postby balvinder on Thu Aug 21, 2008 4:18 pm

Hi ,

Thanks for that information.

ill do that from now onwards

Chill.

:)
User avatar
balvinder
Level 1
Level 1
 
Posts: 21
Joined: Wed Jul 23, 2008 3:59 pm
Location: India , New Delhi


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], WharfRat and 41 guests