Data Backup

Protecting your Linux box
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Data Backup

Postby adilkhan_86 » Thu Aug 27, 2009 11:10 am

Warm Regards
Mohammad Adil Zulqarnain
Cell# 0301 2200030

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Postby x2oxen » Thu Aug 27, 2009 1:10 pm

Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Thu Aug 27, 2009 1:56 pm

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Fri Aug 28, 2009 7:36 am

Farrukh Ahmed

adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Postby adilkhan_86 » Fri Aug 28, 2009 8:50 am

Warm Regards

Mohammad Adil Zulqarnain

Cell# 0301 2200030

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Sun Aug 30, 2009 6:53 am

Farrukh Ahmed

adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Postby adilkhan_86 » Wed Sep 02, 2009 11:50 am

Warm Regards

Mohammad Adil Zulqarnain

Cell# 0301 2200030

adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Postby adilkhan_86 » Wed Sep 02, 2009 6:05 pm

Warm Regards

Mohammad Adil Zulqarnain

Cell# 0301 2200030

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Fri Sep 04, 2009 8:19 am

Farrukh Ahmed

mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Postby mudasir » Wed Sep 09, 2009 3:04 pm

I did a same setup long time back.

I used a windows based software called backup premium. And at Linux i used Samba.
Its easy.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com

adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Postby adilkhan_86 » Wed Sep 16, 2009 10:00 am

Warm Regards

Mohammad Adil Zulqarnain

Cell# 0301 2200030

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Wed Sep 16, 2009 7:52 pm

Farrukh Ahmed

adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Postby adilkhan_86 » Wed Oct 07, 2009 3:25 pm

Dear All,

There is a solution which I find for the backup of windows PC, Yes, I really love Linux but in some enterprise environment 85% or more uses Windows as their Primary OS, So I would like to share a simple and small script you just needs to save it with some "X.bat" using notepad program and use windows schedule program to take automatic backup.

I hope that will help some one in the coming days:)

Quote,
@echo off
:: variables
set drive=d:\backup
set backupcmd=xcopy /s /c /d /e /h /i /r /y

echo ### Backing up My Documents...
%backupcmd% "%USERPROFILE%\My Documents" "%drive%\My Documents"

echo ### Backing up Favorites...
%backupcmd% "%USERPROFILE%\Favorites" "%drive%\Favorites"

echo ### Backing up the Registry...
if not exist "%drive%\Registry" mkdir "%drive%\Registry"
if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg"
regedit /e "%drive%\Registry\regbackup.reg"

:: change to the destination drive first
D:
:: your parent backup directory
drive=d:\backup

echo ### Searching for files to clean up...
cd %drive%
dir /s/b/ad \cookies > %drive%\cleanup.txt
dir /s/b/ad \temp > %drive%\cleanup.txt
dir /s/b/ad \history > %drive%\cleanup.txt

echo ### Deleting cookies, temp files and history from backup dir
for /f "delims=" %%J in (%drive%\cleanup.txt) do rd "%%J" /Q/S

echo Cleanup complete

echo Backup Complete!

Unquote,
I am also working to install an ftp server, once done will let you guys knows.

Thanks
Adil
Warm Regards

Mohammad Adil Zulqarnain

Cell# 0301 2200030


Return to “Security”

Who is online

Users browsing this forum: No registered users and 1 guest