Debian Installation :: Replace Only The Change Files From The Archive?
Aug 21, 2010
If I understand everything right I can use simple cd to create an install of my system then config everything and create an archive of /etc,/var,/usr and that give me a backup of my changed files. but what I am not able to do is create a script to replace the files with the archived version of the config files automatically. I need it to be ran as a post intall script or to configure the conf files as part of the install. what I configure on every reinstall. apache,proftpd,mysql,php,and wordpress. Since I am still learning I reinstall a lot and standard backups have not been working for me. But I can put the whole install including backup on one cd. Is there a way replace only the change files from the archive. or getting a list of just the modafied files on my system.
i am downloaded some e-books in the format .rar. when i am extracting them i am getting error as There is no command installed for RAR archive files. Do you want to search for a command to open this file?
I'm running debian live off the cd to see if it fits my requirements. One of my pet peeves about ubuntu is the use of ctrl ctrl is hosed. the os does not seem to use it for anything, but no application can use it. This is the default for google desktop search, which is highly convenient. Seriously considering the move.I ran debian live and went to install the app. Message comes up archive type not recognised.
Once I've booted my Etch install disc, are there some parameters in configuration files I can edit in the ramdisk filesystem that will allow me to install Squeeze instead? Or, even, paramters I can edit to point at the archive.debian.org repository to install Etch?
I've got a Sun Ultra10 with IDE drives (hard disk and cd drive) on which I previously had Etch installed. I recently tried to upgrade it to Squeeze, botched the upgrade, and formatted the drive. I'm now trying to install Squeeze from scratch.
When I use the Squeeze disc (debian-6.0.0-sparc-xfce+lxde-CD-1.iso), it cannot detect my IDE drives. I also have the disc I originally used to install Etch, way back when. It will boot and detect the drives, but cannot install because Etch is no longer in the repositories.
Last week I installed the Debian 6.0.4 XFCE on to a system from an iso I burned to DVD. I had no problems.
Today I downloaded the 6.0.5 netinst iso and burned a CD to install on a system which has only a CD reader, not DVD. The install goes fine until I select a download mirror. No matter what mirror I select, I get "Bad Archive Mirror".
When I check the log in virtual console 4, the following message appears: "WARNING**: mirror does not support the specified release (squeeze)"...
The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.
I'd like to ask about archive mounter feature, can I mount zip file with read write mode? can gvfsd-archive do that?, or I must use fuse-zip to mount it? If I must use fuse-zip, how I wrap it so I can use it via nautilus or via gvfs-fuse-daemon
opensuse v11.2, linux 184.108.40.206-0.1-desktop x86_64 ZIP v2.32
I wish to exclude some files from a zip archive. On other OSes to exclude an entire directory I would use the "-x" option like so:
Code: zip -r archive-name * -x dir1/* Simple. And just add "-x"'s as needed (or use an exclusion file).
Not how it works here, it would seem. AFAICT all "-x" options are ignored. (The entries in an exclusion file also.) For instance, "-x diy/mplayer/*" should ignore everything in the <diy/mplayer> directory. It does not. I have tried fully qualified paths as well; no joy.
I have a .tar archive of music that I would like to extract specific files / folders from. I've been looking at man tar but I don't seem to be able to find any information related to my quest, although someone will likely point out that it's right there in front of my nose
Anyhow, the file is called music_archive.tar and I would like to extract the folder /music/P/Pink Floyd/The Wall/. Anyone know how to do this
I have a RAR archive, split into 40 sections, containing a folder with a total of 2GB of data. When I Open the Archive using "File Roller 220.127.116.11" and drag the archived folder to destination folder, it says that its uncompressing, but after its uncompressed, there is nothing there, in the destination folder. Where was the 2GB extracted stuff gone?
surprisingly come across this file that the ubuntu archive manager is simply unable to unpack.these are some articles that i am trying to download.strangely i have never heard of the format and the page asks me to download "stuffit expander" to allow me to view the pdf files. however when i download the file saving it on the desktop, and try to open it, archive manager is simply unable to do so!this is the title of the downloaded file -
I'm trying to create backup/archive my Ubuntu 10.04 system files (so I can restore it in case my system get corrupted). More specifically, I'm trying to zip the important files in my root directory not including my home directory (which includes my documents which I backup separately/more frequently) to an external hard drive attached via USB (called 'My Book').
Since File Roller didn't give me quite the level of control I was looking for, I created a script that I could execute to backup and archive regularly. Here's a snippet: cd /media/"My Book"/"Linux Backups" NOW=$(date +"%b-%d-%y") LOGFILE=Backup_Root_FileSystem-$NOW.log sudo zip -r -T -v Backup_Root_FileSystem-$NOW / -x /media/'My Book'* /media* /proc* /sys* /mnt* /dev* /cdrom* /home* /'lost+found'* | tee -a $LOGFILE
I have downloaded NETINSTALL disk from debian.org burned it and during installation it says that error and inst will not continued. This disk havent error replace disks and reburned them. On this computer debian 6 has been installed two weeks ago. "Running post-installation trigger fontconfig" on this stage i have fail.
When trying to create a new compressed/archive file in Gnome Commander (GM) the file is created but the selected files are not added. I can open the new (empty) archive file and then add files to be compressed. I have tried using several different formats (zip, tar.bz and others) with the same results. The "file roller" is shown as a plugin but has no configuration other than the compressed file type.
AKA "zipping on the fly .. the slow-as-molasses way." The list includes full pathnames to each file, and they're all in subfolders of the same parent folder (which, unfortunately, is not the root folder of the drive or system on which the files reside). A cleaned-up and radio-ready portion of the list looks like
What I'd like to be able to do is zip all the files in the list into a single archive, to avoid the step of having to copy them to the same location (presumably another folder on the HD) and then zip that folder. I'm more inclined to make provisions about extracting to a single folder at some other time. Is this possible in BASH, or would I have to consider a faster, more robust scripting language such as python or perl?
On my Laptop, I installed Debian under the file "/" and the partition on which I have all my files under "/var". While this isn't really a big issue, when I originally installed Debian, I had the intention of having all of my files on a partition that I would auto-mount later so that when I upgrade my system by reinstalling it, I would only have to change the system partition and let everything else stay the same.. I can live without changing my /var if I can only do so by a re-install...
When I use the -p switch for the package p7zip-full (program 7z), it only password protects the extraction process but it still shows the list of files when you try to view the contents of the archive whereas the graphical compression utility has a feature to not show the list as well. I read the man page and can't find the feature for the CLI equivalent. how to do this using the CLI?
I want to replace Windows AD with SAMBA I want to know what policies restrictions I can get in SAMBA as compared to windows AD - whether it is possible to restrict clients not to change IP, access cdrom or control panel.
I'm running debian 5.3(i think) I've tried installing skype, google chrome and flash player. All of them are .deb files and on everyone it says "archive type not supported", what should I do to install them?