Debian :: Backing Up Configuration Files Using BAK
Mar 30, 2014
Before I used to make a copy of configuration file and give the end of the file name as 'something.conf.bkp' . Later realized it was a mistake. The correct wording should end in .bak and not bkp .
As per (See apt.conf(5) manpage, section DIRECTORIES, last paragraph.)
The Ignore-Files-Silently list can be used to specify which files APT should silently ignore while parsing the files in the fragment directories. Per default a file which end with .disabled, ~, .bak or .dpkg-[a-z]+ is silently ignored. As seen in the last default value these patterns can use regular expression syntax.
View 7 Replies
ADVERTISEMENT
May 4, 2011
I have a heavily configured gedit on one of the machines on my network. I am looking for a way to back up all of the settings so that I can restore them later and/or move them to another machine on my network.
View 1 Replies
View Related
May 14, 2010
I did a clean install of 10.04 over the weekend and copied all of my backed up files from my external drive back to my internal drive. However, I've noticed that when I moved all my files back, they're all now marked as being executable. I've since fixed this, but I was wondering why this happened to begin with?
I use rsync to backup my files (grsync to be exact), but when I do so I copy files from my internal drive, which is formatted as ext4, to my external drive, which is formatted as NTFS (I keep my external drive as NTFS in case I need to hook it up to a Windows machine). Does the file system discrepancy have to do with why my permissions change when I backup/restore my files? Is there a way to prevent this? Or should I be backing up my files a different way?
View 1 Replies
View Related
Nov 17, 2009
I would like to set up a system for backing up files and even possibly using it to keep music on and listen to it over the network. I am wondering which would be better to use a separate FTP server or buy one of the NAS enclosures and a couple of hard drives to put in it. I am assuming that the NAS would be accessed via NFS. I have never run an FTP server and I have never had used NAS.I am just looking for pros and cons to each one. I would just like opinions as to which service (FTP/NFS) would be better for this task.
View 4 Replies
View Related
Mar 9, 2011
I have a Samba server on a computer. I would like to backup the Samba files on a different computer that is a client in the Samba server network. I can easily drag and drop the Samba files onto the client. I would like to automate this process, and accomplish this using an update copy versus a copy full. How can I accomplish this as bash script? I had no luck using the 'cp' command.
View 1 Replies
View Related
Apr 11, 2011
This is a quick one, I don't have any problems yet, I just want to check that this is going to do what I think it is. I added the line
Code:
00 01 * * * rsync -avz --delete /local-storage /mnt/usbackup
to my crontab file, am I to understand that this will backup /local-storage to my external
[code]...
View 4 Replies
View Related
Feb 6, 2010
What is the recommended way to backup all files to an external hard drive? Should it be done through CLI or should a third party program be used?
View 2 Replies
View Related
Dec 6, 2010
I've got a backup.list file that looks like this:
+ /ext/installs
+ /ext/media
- /ext
- /backup
- /dev
- /mnt
- /proc
/ext is a symlink to /mnt/vg1/vol1, under which are installs and media directories.
I'm running:
rdiff-backup --backup-mode --include-globbing-filelist backup.list / /backup
rdiff-backup keeps recreating a symlink: /backup/ext -> /mnt/vg1/vol1, which is kind of missing the point, because then it doesn't actually back up the files in /mnt/vg1/vol1/installs, etc.
View 1 Replies
View Related
Nov 9, 2015
Debian Jessie XFCE. I use this script to periodically back up my home directory to an external drive:
Code: Select allcp -R -u /home/albert/* /media/albert/"Expansion Drive"/albert/
The configuration files, for example .icedove, are not copied. Can I modify the cp command to include them also?
View 14 Replies
View Related
May 27, 2011
After looking around a bit I started using backup2l to generate backups on my local disk.
It also brags about:
An integrated split-and-collect function allows to comfortably transfer all or selected archives to a set of CDs or other removable media.
View 1 Replies
View Related
Nov 16, 2010
I have a RAID5 array created with mdadm from four 1.5 TB WD15EADS formatted XFS and shared with samba. I recently upgraded it (fresh install to a SSD) from an old -stable 2.6.18-6 to a fresh -lenny 2.6.26-2, and since the upgrade, I've noticed I can't stream high bandwidth video off of the array over samba anymore. The video stutters like it's out of bandwidthI've tried using mpc-hc64 in Windows 7 and my newly arrived Boxee Box.
Everything is wired gigabit ethernet (Boxee Box isn't, but the other two and the switch all three run through are), and I can copy the file at 30-35 MB/s to my desktop, which is significantly more bandwidth than streaming a video consumes. Looking at CPU usage on my desktop and the debian file server, there is plenty of headroom on both. Lower bandwidth files play perfectly fine, either SD or smaller HD.
Since I installed to a new boot drive, all the other hardware is the same, and the array of data is independent of the OS installation, I can boot off the old system, and I can verify that it indeed does not have the streaming problem. Everything plays perfectly smoothly like you'd expect. It even appears to copy slightly faster (35-40 MB/s versus 30-35 MB/s).Is there something in the configuration of the system or samba that I can change?
View 1 Replies
View Related
Feb 3, 2010
I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?
View 5 Replies
View Related
Aug 8, 2010
When i backup my /etc-directory with rsync it is 1.7MB big.I checked etc. It is about 65MB.Oh...I figured out that the most big dir under /etc is "alternatives", say 55MBI unpacked the etc_backup.tar.gz. It is about 65MB.I pack it back together: 1.7MB.btw: if i do ls -hl i always get 4.0K . To check the size of directories i need to use a filemanager. That sucks. A tip?
View 7 Replies
View Related
Nov 10, 2010
I come from a PCLinuxOS tradition (about two years), and a great full backup program was mklivecd, where I would use a GUI to make a bootable livecd/dvd with all my system which was handy in case something went wrong. Every week or so I would create a DVD ready for emergencies. After looking at the options in Debian (using Squeeze, and very happy with it for a few months now), I'm wondering if there is something similar. Remastersys, it seems, doesn't work with GRUB2 (only with GRUB-legacy), and Partimage makes images, not bootable CDs/DVDs. What is your full-backup/bootable system strategy, something, if possible, as easy/straightforward as mklivecd?
View 8 Replies
View Related
Jun 23, 2014
I just moved from Ubuntu to Debian, managed to get the WiFi printer working, installed flash player etc. Just seemed to have trouble opening files over the LAN, is there a firewall setting I need to set. Files work fine if i copy them to the desktop and open them from there but not over the LAN. I have looked on the web with no luck.
View 9 Replies
View Related
Feb 10, 2016
I am trying to access logs Apache logs (I just installed Apache) and it is giving me permission denied errors. What permissions did you give to yourself in order to access these logs or should I just add this user(myself) to adm group?I can access other log files with no problems for example ssh logs.
View 6 Replies
View Related
Jan 31, 2010
I run a Squeeze system and have recently updated various packages. As far as I can tell one of the changes has deprecated HAL FDI files (used for, among other things, configuring various input devices). I am hence wondering how one should go about configuring such devices --- without having to resort to an xorg.conf file.The two devices in question, an TouchPad and TrackPoint can both be configured via XInput when I log-in, however, it is somewhat tedious. Writing a log-on script to do this also seems rather hacky.So my question is: what is the most elegant way of configuring XInput devices?
View 7 Replies
View Related
Aug 15, 2011
Occasionally, with no warning and no cause that I've been able to see, everything that I try to open will produce an error message saying that an associated configuration file For example, I try to open dolphin, and I get a message saying: 'Configuration file "/home/<user>/.kde/share/config/dolphinrc" not writable. Please contact your system administrator.' I get similar ones for konsole, open office, and everything else I try to open, except firefox, which I installed by hand. Konsole still works after this error, but dolphin and open office do not. This never happens directly after startup (it usually happens about an hour after), and always happens to everything - I never get this message for just one program, while everything else works fine. I've tried deleting /home/<user>/.kde/ to 'reset' kde, but that hasn't helped. In case it helps, I'm running Squeeze (amd64) with kde 4.4.5.
View 12 Replies
View Related
Jul 27, 2011
I have several mails which I want to scan by using spamc and thats the problem.
It works when I use just one mail message as a parameter of spamc. E.g. spamc -c < 17383. BUT when I want to pass several messages on spamc e.g. spamc -c < 17383. 18974.(spamc scan just the first message) OR when I use a whole directory e.g. spamc < ./test/* it doesnt work. (output: -bash: ./test/*: ambiguous redirect)
how to pass multiple files in command line on spamc? I know - I can create a script, but I would be glad if it worked for testing in CLI (command above).
View 1 Replies
View Related
Aug 2, 2015
Having an issue with rsync
I launch the following
Code: Select allrsync -avz --remove-source-files --log-file=/home/pi/rsync.log --temp-dir
=/data/temp --partial --progress -e "ssh" 192.168.1.100://data/ext/downloads/File.ext /data/
Basically I download to main PC and rsync to my pi as the pi has a fraction of the speed for some reason when downloading form a source outside of my network.
The first few files will sync fine. Then I start getting errors like this
Code: Select allrsync: rename "/data/temp/.File.ext.y1716M" -> "File.ext": No such file or directory
(2)
The directory on the host has user and group ownership as pi. Rsync has been setup to login without a password.
View 0 Replies
View Related
Sep 16, 2010
I have a TV/radio tuner and I installed the gkrellm-radio plugin. The plugin works fine, but, it only works with /dev/radio. I'm not sure if its safe to rename files so I just create a symlink of /dev/radio0 as /dev/radio.
It gets pretty annoying to me to have to create a symlink every time I start up my computer so I can listen to the radio. Is there a way to get linux to permanently name "/dev/radio0" as "/dev/radio"?
View 4 Replies
View Related
Oct 3, 2010
I was trying to update my debian lenny and aptitude gives a whole lot of errors about files it can't fetch due to a 404 error. Aparently de files i need are no longer available in the places they where supposed to on de Debian-servers.It concerns 35 packages that can't be updated. If nescessary I can post all the package-names and versions (old and updated). I'll give the two first as examples :
[Code]....
View 3 Replies
View Related
Apr 28, 2011
I configured a mail server using Squeeze's latest packages with Posfix + Amavisd-new + Clamav + Spamassassin, but apparently the latter is not using the system configuration files, and I cannot figure out why.Running amavis in debug mode I get the following:
# /etc/init.d/amavis debug
Trying to run amavisd-new in debug mode...
Apr 28 16:01:08.291 [1427]: starting. /usr/sbin/amavisd-new at *******************
[code]....
View 1 Replies
View Related
Jun 7, 2011
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...
View 2 Replies
View Related
Jul 17, 2011
I would like to transfer my music library and movie collection from my Desktop computer running Windows Vista and my laptop running Debian Squeeze. I have the laptop connected via wireless but it's possible to connect the two either directly with a CAT5e cable or through the router. I'm just wondering what the best way to do this would be.
View 8 Replies
View Related
Aug 28, 2011
This is what writes when I enter localhost in browser and press Enter.
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
http://localhost/~david/baby.php
Not Found
The requested URL /~david/baby.php was not found on this server.
Apache/2.2.19 (Debian) Server at localhost Port 80
So , I copied file directly into /var/www folder, entered /localhost/baby.php and get this :
Server error The website encountered an error while retrieving http://localhost/baby.php. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
So , it's not 'bout path or server .. or about php file (I tried few). I don't know what to do
View 8 Replies
View Related
May 14, 2010
If i got gnome i may go to the top-panel: choose system, choose preferences and go to "remote desktop" and make my settings (allow, ask for allow, password, and other stuff). I don't want to be bound to gnome (though i like it, thats not the problem).Which config-files are the ones i am looking for?
I did search the web, but i can't find useful how-to's, explanations, etc.Cause what i find is related to the path i described above (gnome: top-panel, preferences...)Which is the app/tool which pops up and says:"someone wants to access, you want to allow it, yes or no?". The performance of VNC is lousy comopared to NX. Lousy is the friendly version. What might i be doing wrong?i usually do it from a Debian-host to a VirtualBox-guest.I am mainly asking for how-to's/docus and stuff like that. Links. Explanations are welcome too. Of course.
View 4 Replies
View Related
Dec 28, 2015
I want to browse files (including music) on my iPhone5s from my PC, which is running Debian 8.2 "Jessie" with MATE desktop environment.
I ran Code:
Select allsudo apt-get install bluetoothctl in the command line, then after I run Code: Select allbluetoothctl,
I did this:
Code: Select allpower on
devicesĀ # To get the iPhone's MAC address
scan on
agent on
discoverable on
pair IPHONE_MAC_ADDRESS_HERE
trust IPHONE_MAC_ADDRESS_HERE
connect IPHONE_MAC_ADDRESS_HERE
I can connect Debian and my iPhone just fine, but where do I go from there?
How do I browse my iPhone's files from Debian?
I've also posted this on Unix Stackexchange [URL] ....
View 2 Replies
View Related
Feb 10, 2016
I've downloaded configuration files for my VPN, Kovurt, and they don't have a .ovpn file extension. Further, when I tried to enter the information manually (using this guide), I saw that the files only include the <ca> tags, and no <cert>, <key> or <tls-auth> tags.
Here is the content of one of the config files, simply named 'Tokyo' with no extension. (adding .ovpn didn't work either):
Code: Select allclient
dev tun
proto udp
remote 50.31.255.86 443
resolv-retry infinite
nobind
[Code] ....
I have an open ticket with Kovurt asking for the other info, but I know already that they don't have much in the way of documentation or support for Linux.
View 0 Replies
View Related
Apr 6, 2016
I have installed debian on my dell latitude d630 laptop and am currently making a derivative for others to use. however I can't get the wireless to work. I downloaded it from the broadcom site but it comes as a gzip file instead of a deb file. if I extract the gzip file I don't get any installable (deb) files. I need the wireless to work because now a bridged network from my windows laptop isn't working.
View 3 Replies
View Related