Ubuntu :: CLI Backup With Deletion After 2 Weeks?
May 11, 2010
I'm currently using rsync to backup one drive to another. However, it is not currently set up to delete files if they are deleted from the source directory. I'm looking for a way to tell it to delete a file if it was deleted form the source directory X number of days ago.
Anyway I can do this with rsync or a combo with another backup program?
View 1 Replies
ADVERTISEMENT
Oct 17, 2010
I have noticed that after 20 days of system up time, the ubuntu is not as fast as the first day.maybe the RAM is polluted with necessary files or there are some unnecessary disk activities.
View 2 Replies
View Related
Jan 29, 2010
On my 8.04 server installation, I've been getting this message from apt-get upgrade for a few weeks:
Code:
I thought this would be fixed with the 8.04.4 release yesterday, but alas, it was not so.
It's bugging me a bit that there are packages that need to be upgraded, but it's not doing it.
View 5 Replies
View Related
Oct 7, 2010
Here's the error I'm getting:
Code:
Package xine-lib-pulseaudio is obsoleted by xine-lib, trying to install xine-lib-1.1.18.1-1.fc12.i686 instead
error: not an rpm package
umount: /var/tmp/imgcreate-k0CsZq/install_root/var/cache/yum: device is busy.
(In some cases useful info about processes that use
[Code].....
View 5 Replies
View Related
Jan 6, 2011
"system crash" means that:(1)I can ping it , but can not connect to it (via ssh or http or anything else)(2)the major role of that machine is to run a web application written in java, every 3 weeks(almost that), the users inform us and say they can log in that web application , and we find the situation just like (1) says.When this happen , we can only restart the machine by pushing the power button.(It's sad !)I've try to read all the log files located in /var/log but find nothing interesting.
View 5 Replies
View Related
Oct 11, 2010
I need to write a script which will delete all the previous directories I have created. I have found out how to remove one directory with the following code:find /media/CE40-EB9D -type d -name "week1" -exec rm -rf {} ;but how can I get the same script to remove weeks 2-5?
View 5 Replies
View Related
Feb 20, 2010
I use the Avasys pipslite driver for my Epson TX210 printer on Fedora FC12. It worked fine two weeks ago, but now only prints a solid black square for the print area. The printer is fine, as it prints normally under Windows. I rebuilt the driver from source.
View 3 Replies
View Related
Sep 24, 2010
I'm using crontab to start and stop music playback (its like start and end of a brake in school). The problem is that some of the entries should be run on even weeks and some on odd.
exp:
This should be played on even weeks
00 08 * * * audacious -p
10 08 * * * audacious -u
and this on odd
05 08 * * * audacious -p
15 08 * * * audacious -u
There are about 20 entries for even and 20 for odd. I found here on the forum that maybe this should work but for it is not working for me
00 08 * * * [[ $(expr `date +\%W` \% 2) = 0 ]] && audacious -p
If I put it like that its not working at all
View 7 Replies
View Related
Feb 28, 2010
Somebody, without saying anything to us, has deleted (not moved) a lot of wiki pages for laptop testing and setup guide. A lot of people were working hardly to document as best as possible each laptop computer to configure Ubuntu GNU/Linux.
Here follows a list with only a few of the lost pages:
[url]
[url]
[url]
[url]
View 9 Replies
View Related
Jan 1, 2010
Where is the Trash folder where deleted files are moved? I found no /dev/null How can I tell Ubuntu: Wipe Trash folder on exit How can I tell Ubuntu: Delete files immediately without moving them first to Trash folder?
View 5 Replies
View Related
Jan 12, 2011
The solution given there -to edit settings via gconf-editor - worked fine.In Ubuntu.Now I wanna do the same thing in Lubuntu - the Ubuntu remix that uses LXDE instead of Gnome.I tried running gconf-editor but (duh) it's not installed because Lubuntu doesn;t use Gnome. How do I tell LXDE to quit asking for confirmation? I'd also like to have the option to just delete stuff right away, rather than it going into the trash file first.
View 3 Replies
View Related
Feb 2, 2011
I was fiddling with my Kubuntu installation's desktop panel and deleted my last panel on the desktop. This caused the Plasma desktop to crash, which caused me to reboot. After rebooting, I got to the login screen (which was normal and un-changed) and logged in. When I logged in, I was greeted with a black screen with two white dots in the upper right hand corner and no GUI.
Please note, I'm on a laptop and cannot connect to a wireless network from my console but I do have console access from the login screen where I can login to the Terminal.
View 1 Replies
View Related
Sep 1, 2011
I ve read this page and tried some methodes such as opening nautilus with"gksudo nautilus" and then checking (the now root?) trash bin.Ive got a ext4 formated truecrypt container which has a size of 400GB. After I have deleted all the files in it nautilus tells me that I now have only about 100gb free space but I cant see any files in the container anymore.
View 4 Replies
View Related
Jul 25, 2010
I use Ubuntu 8.04 and I deleted a few JPGs from the recycle bin. I googled looking for some methods of recovery, and discovered that the only ways to do so is through using the command line. I am a complete computer novice, and I know nothing about the command line, or how to use it. I was able to install Foremost. However, with this done, I couldn't manage to use it to recover anything from that point, partially because I only have 1 GB left on my computer space, and I can't delete anything or else it could overwrite the photos I want to recover.
This all boils down to two questions:
What needs to be done to complete and utilize foremost?
And lastly, and the more preferable option, can this be accomplished without the command line?
View 7 Replies
View Related
Jan 19, 2011
Possible Duplicate:Recover a file deleted using rm command in Linux.I have accidentally deleted all the stuff under my home directory, say /home/OriginalWood, is it possible to recover?Now the home directory is empty and not yet overlapped by any data. So, is there a way to recover?
View 1 Replies
View Related
Feb 25, 2010
I have RHEL Machine in production server where we gets usual alerts that logs filling up spaces. We archive those logs but in case it grows maximum we delete the old ones. Any idea how can we autiomate the process.
View 1 Replies
View Related
May 30, 2011
OS: OpenSUSE 11.4 KDE x86_64
Mouse: MS Notebook Optical 3000, with left, right buttons and a vertical scroll wheel in the middle
How do I configure or set up mouse action such that an option to delete or move to trash is also included when hitting the right mouse button? As shown below, the "standard menu" does not include this action:
Right clicking desktop > Desktop Settings > Plasma Desktop Shell
Middle button: Paste
Left button: Standard Menu (std. menu/application launcher/paste/switch windows/switch activity/switch desktop)
Vertical scroll: Switch desktop
Right button: Standard Menu
View 9 Replies
View Related
Mar 27, 2010
I generate more than 50GB of cache files on my RHEL server (and typical file size is 200kb so no of files is huge). When I try to delete these files it takes 8-10 hours. However, the bigger issue is that the system load goes to critical for these 8-10 hours. Is there anyway where I can keep the system load under control during the deletion.I tried using
nice -n19 rm -rf *
but that doesn't help in system load.
View 2 Replies
View Related
Apr 26, 2011
I create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete. Here is my code
int main()
{
FILE *fp;
fp = fopen ("mytest.txt","wb");
if (NULL == fp)
{
[Code]....
View 7 Replies
View Related
Jun 19, 2010
I accidentally deleted all the files from file system in my hard drive (thankfully not my /home since it resided on a separate hdd). I did this from another system while I had connected that hdd to look at some files since my system was not booting correctly. The problem is that I deleted everything (manually while I was in nautilus) including the .Trash file. I have not formatted this drive so the partition table remains the same, nor have I written anything to it since the deletion, and, this drive is using ext4. What is the best way to restore this drive to how it was (say yesterday at 4:30PM)? (I have a lot of programs installed and I have been upgrading Ubuntu there since 9.04 to now 10.04). If I am not mistaken when data is deleted in ext4 it is simply flagged as usable space, and if that is so, is it possible to just simply unflag this data to get every file back the way it was yesterday at 4:30PM?
View 4 Replies
View Related
Apr 13, 2010
i m using centos 5.4 for Data Server, there i hv shared a directory to store data. i want, when ever owner of that data does delete any thing from directory, system should send me a mail with logs of that deletion action with the detail some thing like bellow
1- IP of system, from where owner did access the server and delete the data.
2- Date, Time and Name of File with Path.
These logs should be sent me by email automatically.
View 2 Replies
View Related
Apr 26, 2011
I create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete.Please help me how to save this file from other process.Here is my code
int main()
{
FILE *fp;
[code]...
View 9 Replies
View Related
May 6, 2010
1) In our tmpfs /dev/shm we have what seem to be unused/stale files. Can these be safely deleted by using 'rm'.
2) How is the space calculated for tmpfs /dev/shm?
So for instance if we have unused/stale files are these in the calculation of space used? Red Hat Enterprise Linux Server release 5.4 x86_64
Fs Size Used Avail Use% Mounted on
tmpfs 32G 25G 7.9G 76% /dev/shm
View 4 Replies
View Related
Aug 17, 2011
I am trying to install fedora15, my devices are as follows:
/dev/sda1- contains windows recovery
/dev/sda2- contains windows vista
/dev/sda3- free space
/dev/sda4- where fedora10 is existing.
Basically I want to scrap the fedora 10 in /dev/sda4 and install fed15 on the place (ext3). During the installation process fedora asked me, Which type of installation you want? I choose 'create custom layout'.
Then in the next window that appeared I choose /dev/sda4. Then it gives me four options like
Create Edit Delete Reset
I want to know what does this Delete mean. What will it do, will is erase all the older partitions within /dev/sda4 i made for fedora10 (previously I made three partitions /boot, swap, /) or will erase /dev/sda4 itself. I am scared to continue installation further.
View 10 Replies
View Related
May 18, 2010
using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner
View 2 Replies
View Related
May 10, 2011
I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.
[URL]
The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?
View 1 Replies
View Related
Jan 19, 2010
I have a scheduled backup to run on our server at work and since the 7/12/09 it has be making 592k files instead of 10Mb files, In mysql-admin (the GUI tool) I have a stored connection for the user 'backup', the user has select and lock rights on the databases being backed up. I have a backup profile called 'backup_regular' and in the third tab along its scheduled to backup at 2 in the morning every week day. If I look at one of the small backup files generated I see the following:
Code:
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version`
[code]....
It seems that MySQL can open and write to the file fine, it just can't dump
View 3 Replies
View Related
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
Jun 30, 2010
does anyone know of a good backup software for Ubuntu 10.4 that will let me select which folders to backup, rather than a complete backup? My install and settings etc can be replaced, but my photos and memories cannot!
View 6 Replies
View Related
Sep 1, 2011
I have installed Ubuntu 11.04 onto HP EliteBook 8540w notebook and would like to backup the entire disk using some popular backup tool.
I have searched in the internet and found the closest tool is PartImage. But the bad news is that it does not support ext4 fs!
View 5 Replies
View Related