Debian Configuration :: Remove A Specific Folder From Backup?

Oct 14, 2010

How to remove a specific folder from your backup?$ rdiff-backup --remove-older-than now /backup/backup_laptop/home/derick/DownloadsFatal Error: Increments for directory /backup/backup_laptop/home/derick/Downloads cannot be removed separately.Instead run on entire directory /backup/backup_laptop.

View 2 Replies


ADVERTISEMENT

Programming :: Bash Command To Remove All Files Within A Specific Folder?

Oct 19, 2010

I want to delete all files within a specific folder without actually deleting the folder, what is a good bash command for this?. I found this one but encountered some errors even though I am executing it within the specific folder:

useratdebian:/home/user/folder# find . -type f -exec rm -rf {} ;
[1] 5052
useratdebian:/home/user/folder# find: missing argument to `-exec'
[1]+ Exit 1 find . -type f -exec rm -rf

The command as it appears is:

find . -type f -exec rm -rf {} ;

how to delete only the files contained within the folder called "folder" for example?

View 4 Replies View Related

Server :: Remove Selected Files From A Backup Folder

Jan 24, 2010

I have a backup folder which I need to prune and I've been trying to do a find and destroy action on files in this folder which have not been modified for more than 30 days. I figure if no users complain that their files have been missing for more than 30 days, it's safe to delete them from this folder.

View 13 Replies View Related

Debian Programming :: Installing Application Data To Specific Folder?

Jun 16, 2014

app deployment on Linux/debian and I'm using Debreate to create .deb packages which works fine. I install the software itself to /usr/bin but want to install the program's database to /home/username/myapp/ The problem is it that I don't know how to add the env variable 'username' to the target path. What is the exact syntax for this installation path?

View 3 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Debian Configuration :: Aptitude Update From Specific File?

Feb 18, 2011

I'm developing with puppet, and I need to do an aptitude update from a specific file, here is my configuration: The file sources.list in /etc/apt/ is deleted. I've created 3 files in /etc/apt/sources.list.d each one with their repos:

00-debian_sources.list
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

[code]....

All the repos are updated/refreshed , and I only want to refresh/update the specific repos insie of the file 01-debian_security_updates.list. On the other hand if I put some repos in the sources.list and delete the 3 files and I create an external file for example in /tmp/temprepo and I do the command aptitude update -o dir::etc::sourcelist=/tmp/temprepo it works fine.give some workaround to update and then upgrade packages from the files specified in my config.

View 1 Replies View Related

Debian Configuration :: Use Specific Address For Dhcp Server?

Apr 27, 2011

I'm running gnome desktop on squeeze system. When I boot my system seems to be using my internet modem as its dhcp server. The rest of the machines on my lan are correctly using my router for that purpose. As a result, what happens then is that my debian machine frequently gets a duplicate ip address assigned to it. I would like to specify to my debian computer that I want it to use the specific fixed ip address of my router for dhcp purposes.

View 9 Replies View Related

Ubuntu :: Real Time Backup In A Folder Called /home/backup?

Feb 2, 2011

I've tried to google but not much luck. What I would like to do is have anumber of folders on my desktop and their contents, replicated/duplicated into another folder on the same PC in real time. So for example, if I were to change an OpenOffice document in a specific folder on my Desktop it would be replicated/duplicated in real time. If I had three folders on my Desktop A, B and C they would also appear/be backed up (in real time) in a folder called /home/backup. Can this be done?

View 3 Replies View Related

General :: Write A Simple Backup Script To Backup A Single Folder Nd?

Sep 15, 2009

I am trying to create a backup script that will back up a single folder for a class i am in. I was wandering if I could get some help. If possible I would also like to know how to write a script that can encrypt that same file . I will be putting the back up in my /home/usr/Backup directory. I am not trying to back up my whole system just a single folder. I am using Fedora 11

View 2 Replies View Related

Debian Configuration :: Downgrade Specific Files , Cifs / Samba?

Oct 8, 2010

I'm having trouble making my cifs shares user mountable
from bash: mount.cifs: permission denied: no match for /home/jcress/gatton/webspace found in /etc/fstab

View 1 Replies View Related

Debian Configuration :: How To Assign Specific Local IPs In Home LAN Using DHCP?

Apr 29, 2011

I have some beginner questions about DHCP, Avahi, and configuring a small home LAN.Suppose I have a dynamic IP address assigned by my ISP, which requires DHCP be enabled in my dsl modem/router/"firewall" [sic]. Suppose for simplicity I have just one PC behind the dsl modem.I think "enabling DHCP" in the modem/router means that a DHCP client runs on the router, which communicates with a DHCP server run by my ISP when I boot up a PC on my LAN. Is that guess correct? Can I get DHCP to assign a particular local IP, say 192.168.1.10 (which is not the one taken by the router--- for this discussion, let's say that is 192.168.1.0) to my PC each time I boot it up?

Now suppose I want to build a stand-alone firewall, so that my LAN will have the firewall and the first PC behind the modem, with the first PC virtually behind the firewall. By default, I think these will both have DHCP clients running which I need to configure properly. The firewall should also have a DHCP server which should control how local IP addresses are assigned, correct? I should try to arrange that the LAN has only DHCP server, only one NTP timeserver, only one DNS nameserver, correct?My first PC seems to have installed an autorun client called Avahi, which performs DNS multicast services and incorporates something called zeroconf which seems to have something to do with remote desktops, which I don't need and which is a potential security hazard. But it seems that Avahi is an intrinsic part of the KDE desktop and cannot be removed. Just want to be sure that Avahi can coexist comfortably with dhcp3-client, which is also installed on that PC. They perform different tasks, correct?If I can get the stand-alone firewall to work, I know I need to turn off the commercial firewall in the dslmodem/router/firewall device. Should I purchase a bridge and try to turn off the routing function also?

View 8 Replies View Related

Debian Configuration :: Installing Specific Kernel As Boot Option?

Jul 29, 2011

I need to install any version of Debian with the Debian Kernel version 2.6.22-3-686. I don't mind what version of Debian it is, I just need it to have this specific kernel! Debian Etch comes with 2.6.18-4-686 and Lenny comes with 2.6.26-2-686 so the kernel I need is obviously somewhere in between.

I have tried using the following commands to see if kernel 2.6.22-3-686 is available for download via the apt-get method in both Debian Etch and Lenny but it is not...

apt-cache search linux-kernel
apt-cache search linux-source

So does anyone know where/how I can download specific kernels and install them for use? I have a computer sitting next to me that has multiple kernels as an option on boot, and they all boot into the same system, however I do not know the person who set up the computer so cannot ask them how they did it

View 2 Replies View Related

Debian Configuration :: Routng Traffic To A Website Via A Specific Interface

Jul 30, 2011

I am running Debian Squeeze on an old pc (AMD K62-500) which serves as my multiwan router and torrent box. Internet uplink is provided via a dsl line and 2 wireless canopy modules.

Setup has been generally fine except when connecting/downloading as free user from sites like rapidshare, hotfile, filesonic, etc. The problem arises when I am connected to these sites using the wireless uplinks because of the shared public ip. I don't really download that much using direct download methods so I don't really see myself being a premium user from these sites.

If these sites are on a specific ip or ip range, an entry on the static routing table would have been fine but when I tried using ping, a different ip would appear to reply each time.

I wonder if there can be a solution like using iptables where in traffic to and from these sites will only use the NIC connected to the dsl line.

View 1 Replies View Related

Debian Multimedia :: Re-install Etch Recently But Forgot To Backup /var/lib/dpkg Folder

May 16, 2011

I need to re-install Etch recently but forgot to backup /var/lib/dpkg folder, I know there's archive server provides old packages, but packages from www.debian-multimedia.org does not. I have tried its mirror sites but it seems they had removed the old packages from Etch and earlier releases.

View 7 Replies View Related

Debian Configuration :: MBR Swapping With Grub (No Backup)

Apr 20, 2011

I've been following grub-common bug #606845 and in coming to a solution for the issue, these guys are using dd as a brute force means of swapping out master boot records or trampling them, if you prefer. (Background: The issue is related to grub and certain xp installations)

An sample snip of code:
dd if=/mbrxp.bin of=/dev/sda bs=512 count=1
1) Is mbrxp.bin a back-up of the mbr taken before installation of squeeze (or grub in general)?
2) Am I fubar if I didn't make a back-up of the mbr before installing grub?

View 2 Replies View Related

Debian Configuration :: Creating Udev Rule For Specific SATA Port

Apr 19, 2011

I have a trayless SATA hotswap bay that is really terrific for quickly attaching and removing SATA hard drives. I'm trying to write a udev rule to create a symbolic link to the device node for the drive that is attached through the hotswap bay (/dev/bay -> /dev/sdX). This eliminates any ambiguity when performing destructive tasks (fdisk, etc). I'm running squeeze amd64. I've read through several tutorials and have it working somewhat. Here's the output of udevadm info for a drive attached via the hotswap bay.

looking at device '/devices/pci0000:00/0000:00:11.0/host7/target7:0:0/7:0:0:0/block/sdb':
KERNEL=="sdb"
SUBSYSTEM=="block"
DRIVER==""
ATTR{range}=="16"
ATTR{ext_range}=="256"
ATTR{removable}=="0"
ATTR{ro}=="0"
ATTR{size}=="156301488"
ATTR{alignment_offset}=="0"
ATTR{capability}=="52" ....

Here is my udev rule
DEVPATH=="/devices/pci0000:00/0000:00:11.0/host7/*", SUBSYSTEM=="block", SYMLINK+="bay%n"

This produces the desired behavior and gives me an fdisk-able device node. The problem I am having is that the "host" component of the DEVPATH varies from bootup to bootup. I'm just using on onboard SATA, host2-7, specifically host7. There is also onboard PATA, host0-1. It seems to just be random which "host"s are assigned to which controller. For example, the next time I boot the system, the onboard SATA will be host0-5 and the onboard PATA will be host6-7. In this simple case, I could just write 2 rules, one for each possibility and it would still be correct because of the different PCI addresses of the two controllers. But on systems with more SCSI (uh... libata, actually) controllers, a "host" file can point to different physical ports between bootstraps. This would be bad. Does anyone know of a way to write a rule to tie a device node to a specific physical SATA port on the motherboard/hba?

View 1 Replies View Related

Debian Configuration :: Rdiff-backup On Samba Share

Mar 10, 2010

Is it possible (on lenny, in case that matters) to backup some directories with rdiff-backup, with the target being a WinXP Pro Host, i.e. the target being a SMB share? My idea is to start the XP-Box over WOL, run rdiff-backup and then shut it down using "net rpc SHUTDOWN"...

View 1 Replies View Related

Debian Configuration :: Can't Get Cron-fired Backup Scripts To Run

Oct 15, 2010

Due to a disk crash I've had to rebuild my Debian Lenny system. For some reason I can't get my cron-fired backup scripts to run. They will run manually.

It looks like crond is not running. If I try to start it, here's what I get:

Pancho:/home/lloyd# /etc/init.d/cron start
Starting periodic command scheduler: crond failed!

MORE INFO:

lloyd@Pancho:~$ /etc/init.d/cron start
Starting periodic command scheduler: crond/etc/init.d/cron: line 54: start-stop-daemon: command not found
failed!

[Code].....

Clearly the problem failure to find start-stop-daemon is not the problem and I'm still in the dark.

View 2 Replies View Related

Debian Multimedia :: Permanently Remove Gtk-3.0 Folder In Wheezy?

Sep 1, 2011

There is a folder in my home titled 'gtk-3.0,' which continues to reappear even after I have deleted it. The reappearance of the folder seems to occur after using lxappearance to change the themes. I will not be participating in the headaches of the switch from gtk2 to gtk3, just as I did not participate in the headaches of the switch from KDE 3 to 4. So the following are my questions;1. Is it possible to permanently delete the gtk-3.0 folder so that it can not ever reappear in my home? (And why is it appearing there anyway? Shouldn't it be hidden with a dot?)2. If I can not prevent this folder from appearing in my home, is there a setting I can use in Wheezy to block gtk3 libs and apps from installation? Presently, the only gtk3 lib or app shown by aptitude search is libcanberra-gtk3-0, but I can't remove it due to notification-daemon dependencies.3. If I switch from all gtk2 apps to all KDE apps will that solve the problem of gtk3 placing a completely unnecessary folder in my home?

View 2 Replies View Related

Debian Configuration :: Remove 'debian-sys-maint' Account?

Mar 8, 2010

Does anyone know if I can successfully remove / delete the 'debian-sys-maint' account from MySQL? I noticed it there and appears to be something the Debian developers / maintainers of MySQL package added. I am guessing it's there to manage package updates and system maintenance as a back door of sorts. Anyone know if I can remove this account and not break the package or database?

[Code]...

View 2 Replies View Related

Debian Configuration :: How To Remove VM From System

Jan 10, 2016

I would like to remove a specific domU (test01--pv--guest) from my machine. I am not sure how far/to what extent to remove files. Here are the files and properties it seems I should remove:

lrwxrwxrwx 1 root root 10 Jan 9 11:05 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--disk -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jan 9 01:03 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--swap -> ../../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/mapper/xenvg-test01--pv--guest--disk -> ../dm-3
lrwxrwxrwx 1 root root 7 Jan 9 01:03 /dev/mapper/xenvg-test01--pv--guest--swap -> ../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/xenvg/test01-pv-guest-disk -> ../dm-3

The above link to dm-2 and dm-3.

brw-rw---- 1 root disk 254, 0 Jan 9 01:03 /dev/dm-0
brw-rw---- 1 root disk 254, 1 Jan 9 01:03 /dev/dm-1
brw-rw---- 1 root disk 254, 2 Jan 9 01:03 /dev/dm-2
brw-rw---- 1 root disk 254, 3 Jan 9 11:05 /dev/dm-3
brw-rw---- 1 root disk 254, 4 Jan 9 01:03 /dev/dm-4
brw-rw---- 1 root disk 254, 5 Jan 9 01:03 /dev/dm-5
brw-rw---- 1 root disk 254, 6 Jan 9 01:03 /dev/dm-6
brw-rw---- 1 root disk 254, 7 Jan 9 01:03 /dev/dm-7

Will they be deleted automatically or should/can I remove them? How do I check the need for the other dm-? files? As indicated below, it seems like some may be duplicates.

I also found this set in /etc/lvm/archive/:

-rw------- 1 root root 2909 Oct 17 00:41 Relaise-vg_00000-1453251236.vg
-rw------- 1 root root 2929 Oct 24 22:08 Relaise-vg_00001-1530642081.vg
-rw------- 1 root root 2924 Oct 25 19:33 Relaise-vg_00002-328450675.vg
-rw------- 1 root root 2901 Oct 26 19:53 Relaise-vg_00003-1555350964.vg
-rw------- 1 root root 2902 Oct 26 19:53 Relaise-vg_00004-1044927704.vg

[Code] ....

Some of these seem like duplicates. This may be due to multiple attempts to build the volumes. Is there a way to determine if all of the are useful?

View 0 Replies View Related

Debian Configuration :: Apt Wants To Remove Make?

Oct 18, 2010

For some reason from a fresh installation on Debian (Squeeze), Apt is telling me I no longer need the 'make' package and I can remove it. I find this extremely odd & random given I just built this O.S. Why would Debian want to remove such a package and since this is a fresh installation, is there something I did wrong?

View 4 Replies View Related

Debian Configuration :: Apt-get Auto-remove Removes Nothing

Aug 10, 2015

The apt-get autoremove command, I use Debian 8 for some time now and I often install a package, test it for some minutes and remove it then. I noticed that in most cases (if not all, I'm not completely sure) all the dependencies that were installed with the package (mostly libraries, of course) stay installed on the system when I remove the package.

And there is no output of apt-get that there are unnecessary pacakges which I can remove with apt-get autoremove. The autoremove command does nothing.Before I changed to Debian, I used Ubuntu and there all the dependencies are removed with apt-get autoremove when I uninstalled a package.My question is now, is this normal? if there are fundamental differences in which packages "autoremove" removes between Debian and Ubuntu?

View 4 Replies View Related

Debian Configuration :: How To Remove Extra Ttys

Apr 19, 2010

I'd like to know how to leave only tty1 and 2 and permanently disable others. (I'm running Lenny/i386).

View 4 Replies View Related

Debian Configuration :: How To Remove Package From List

Oct 17, 2010

I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?

View 2 Replies View Related

Debian Configuration :: How To Encrypt Home Folder Using DES Algorithm

Jan 27, 2011

I want encrypt my home folder by using the DES? How to do it?

View 1 Replies View Related

Debian Configuration :: Apt-get Auto-remove After Installing Jessie

Jun 20, 2015

After installing Jessie, apt-get gives me a huge list of packages with the suggestion to autoremove them. Now, I've tried auto-remove once and was left with a naked Gnome, so I was wondering if there's another way to find out which packages I should keep and which I can safely remove. Is it safe to delete packages that cannot be found using the search function for the stable release? I checked them one by one here URL....How about linux images that won't appear in the above search?

linux-image-3.14-0.bpo.1-amd64
linux-image-3.14-0.bpo.2-amd64
linux-image-3.16-0.bpo.2-amd64
linux-image-3.16-0.bpo.3-amd64
linux-image-3.2.0-4-amd64

How about results shown by deborphan?

View 9 Replies View Related

Debian Configuration :: Remove Item From Desktop Menus

Feb 7, 2016

I am using Wheezy 7.9, Gnome Classic, gdm3 . I have two menu instances of Master PDF Editor, one instance in the Graphics menu and the other in the Office category. I have tried using Alacarte to remove one of the instances. Alacarte shows that the item has been removed but in fact it still shows up in the menu. The procedure I used was to open Alacarte as root user, delete the item, close Alacarte and re-start the computer.

View 1 Replies View Related

Debian Configuration :: 'Add/Remove Applications' Disappeared After Upgrade?

Feb 22, 2010

I had some problems about a week ago with installing Python2.6-minimal (as an issue, it got resolved), however, after the problem was resolved, 'Add/Remove Applications' disappeared after upgrade was complete. I usually do not use this program for installing, etc., if I can help it, but do use it more often for web address reference when I am considering installing a new program, etc. Question is,is there some way to find out if it is merely lurking somewhere in my system... & then to once again add it to my menu list? Or, if that is not the case, to reinstall it via apt-get, aptitude, or some way like this? I could not find this application (or whatever it is called) in the Synaptic Package Manager.

View 3 Replies View Related

Debian Configuration :: Remove Upstart In Favour Of Sysvinit?

Sep 3, 2010

I had read that squeeze was to use upstart instead of sysvinit. Anyway, in playing with splashy, I decided to install upstart to see if it would work, which it does just fine. When I check for updates in synaptic, it always wants to remove upstart in favour of sysvinit. I wouldn't have a problem with that except, with sysvinit, squeeze no longer shuts down or starts up.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved