Applications :: Scp Or Ftp Backupscript With Resume And Filecheck
Nov 8, 2010
A small description: We have 4 sites in Africa where non-profit projects are active. Those 4 sites have a openvpn tunnel towards Europe. We would like to backup a file each day from the 4 locations onto a server in Europe with scp or ftp protocol.
One issue that might caus problems is the stability of the African network connections.
So a default backup script should have the extra options to make primo a resumable transfer and secundo a check if the transfered file is complete. If not transfer should start again untill the backupfile is completly transfered.
View 3 Replies
ADVERTISEMENT
Apr 18, 2011
I wrote a little backupscript wich is working fine if i start it from the shell manualy. But I'm not able to let it start automaticaly via cron in ubuntu 10.10.
Here the bashscript:
#!/bin/sh
####################################
#
#
#
####################################
[Code]......
View 1 Replies
View Related
Apr 19, 2011
Got some speed problems with my backup script, need to save 250GB data (28 network-shares (20 user homefolders included) - each one gets an own zip; approx. 100'000 files)Backupdata are stored on our nas that is embedded with mount -t cifs -o user,pw //networkadress /yet/another/backup/folderPacking process takes about 60! hours (on an intel xeon 3.0 GHz RHEL4 system) - connected via 100mbit networkzip -r /yet/another/backup/folder/asdf.zip /home/asdf/Is there a way to speed up this whole process? Saving via tar.gz instead of ziping?
View 2 Replies
View Related
Jul 28, 2011
I haven't used Ubuntu for a while, and just reinstalled it. I have one major dislike about the new version, There are several applications I click on and it takes me to the installer.How do I remove those types of applications or just install them all?
View 3 Replies
View Related
Jul 24, 2010
I feel shy asking this question but, 90% of the applications I install in Ubuntu (last release), do not show up later on in the applications menu, so I cant run them. I know it seems silly, but I can't find the way to handle this inconvenience. Is there a place (like Start> All programs in Windows), were I could find and run all the programs I install?
View 1 Replies
View Related
Jun 5, 2011
I was wondering if there was any way to remove icons from the installed applications menu?I recently attempted to install GOG.com's Zork Anthology using Wine and when I de-installed, the icons for those files were still listed in installed applications. Is there anyway to delete them manually?
View 2 Replies
View Related
Jun 15, 2010
I'm setting up a large number of virtual machines, each with a basic set of about 30 applications. Obviously, I don't want to do everything manually so I'm looking for ways to automate this process. Multiple distributions (Ubuntu, Red Hat Ent., FreeBSD, CentOS, etc.) will be used, meaning I will have a few Ubuntu installs with the basic set of 30 applications, and multiple Red Hat installs with the same set, etc. So, I'm looking for advice on automating as much of this as I can, even if it means a new form of automation for each distro.
View 1 Replies
View Related
May 25, 2009
Is there a programmatic way to get the list of all installed applications on Linux.
Also, how can we get the application activities in Linux OS like running applications name, time of day when they started, duration till the applications were running on system, application version etc.
Is there a way to do this in C/C++.
I am building an app that runs like a daemon and fetches the applications status and sends it to the network admin for him to monitor the application usage pattern on the user computers in the network.
View 1 Replies
View Related
Jul 20, 2010
I have a windows app installed under wine. It works fine. However, it has the ability to launch openoffice to do further functions. Obviously I have openoffice installed under linux, but the wine app cannot see it. How can I make the wine app see across the emulation layer into linux to see the app it needs? Dont tell me I need to install openoffice under wine as well to get it to work!
View 5 Replies
View Related
May 21, 2015
My system cannot resume after hibernation. I have done all as described here [URL] ...
My have set up swap file "/swap_debian".
I have 3 partitions: sda1: windows boot partition. sda2: windows 8.1. sda3 : debian
I have the only linux distro installed: debian.
I have read lots of web pages. I have managed to set up suspend 2 disk. After dancing 2 days at the computer the system still cannot resume. I am getting "clearing orphaned inode" msgs while booting, and when booted to ram was not recovered.
Swap file is 4000 MB, RAM is 3860 something MB
My current grub is:
Code: Select all# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
[Code] ....
And yes, I did update-grub.
My current /etc/uswsusp.conf is:
Code: Select all# /etc/uswsusp.conf(5) -- Configuration file for s2disk/s2both
resume device = /dev/sda3
compress = y
early writeout = y
image size = 1855258869
RSA key file = /etc/uswsusp.key
shutdown method = platform
resume offset = 31606784
My current /etc/fstab is:
Code: Select all# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
[Code] ....
View 0 Replies
View Related
Feb 23, 2011
I am happily using SSH's X11-forwarding to run some applications and then the connection was disconnected. Running ps ax from a new SSH connection shows that the applications are still running. How do I "resume" or recover the GUI for the applications to prevent data lost?
View 1 Replies
View Related
Mar 28, 2010
I found this line in dmseg when I was checking out another problem.
"[0.104467] ACPI Warning: Incorrect checksum in table [OEMB] - 03, should be FA 20090521 tbutils-246"
Could this be why I have never been able to resume from hibernate on this machine?
View 1 Replies
View Related
Apr 6, 2010
My laptop won't resume after it suspends. It works fine under win 7 so it's not the hardware. The light says it's on and it's pretty much a blank screen. I'm not sure whether it's operational but the screen is off. It has exactly the same resault a waiting for the blank screen except it won't go back on.
View 9 Replies
View Related
May 6, 2010
I've just upgraded from 9.10 to 10.04 via the upgrade manager. Prior to the upgrade I was able to suspend and hibernate without any problems. Now that I have upgraded to 10.04, I can suspend however when I resume I am back at the gdm login prompt, logging in again with a new session.Having just done another test whilst writing this, it actually appears that if I select suspend from the top right I am suspended and can resume my session. If I close the lid on my laptop (which is supposed to suspend) I am logged out and suspended.Also, Hibernate doesn't work as well - sometimes it never actually hibernates (just sits on a black screen) and sometimes it doesn't resume (it's never hibernated and resumed correctly since the upgrade)
View 9 Replies
View Related
Oct 14, 2010
I have ubuntu 10.04 installed on a 50 gb partition on my hard drive I have given a 3.5 gb partition for swap which is > 3gb ram i have. Druing the installation of ubuntu I had specified the swap partition and its hibernate was working fine sometimes before. But I had to delete the swap partition and recreate it because of some reasons so I did that and again created a 3.5 gb partition for swap space usig ubuntu live cd.
But after restart ubuntu no longer detected the swap partition it was ok as its uuid had changed so I specified the swap partition to be mounted automatically by adding an entry in /etc/fstab and then also added the same UUID in /etc/initramfs-tools/conf.d/resume so that it could resume. After restarting ubuntu after adding the entrly in /etc/fstab i got the option of hibernate but after hibernate everything goes well but after hibernate when i start laptop again ubuntu first tries to resume but it does not and without giving any message it shows the login screen.
View 8 Replies
View Related
Mar 5, 2011
i am running Ubuntu 10.10 i386 on my computer
and i put my computer to standby
but when i tried resuming i couldn't
i pressed EVERYTHING on my keyboard and i still couldn't resume so i eventually had to shutdown the computer and start it up again
View 6 Replies
View Related
Mar 10, 2010
I have an issue with my Sony vaio fw31e not resuming from suspend. Reported this as a bug: [URL] The usual ways of suspending, from the kde 4 menu, from the power/battery widget or by lid closing always result in no resume. However, running pm-suspend from a root terminal suspends and resumes just fine. My question is, how does one delve into the way that the usual methods initiate suspend? Maybe if I could find out what each of these methods actually does, I may be able to see what is going wrong? I had been running squeeze on this lappy since July 2009 with no suspend issues until an update broke it sometime in January. The install is being fully upgraded every day at the moment.
View 11 Replies
View Related
Oct 20, 2010
So when my laptop resumes from suspend (haven't tried hibernate) the screen is black (and stays black) until I hit ctrl-f7is this because its opening the wrong display, or because ctrl-f7 'wakes up' X, or ??? it's not that big of a deal, now that I know how to get back to the X session (at first I thought it was "frozen")but it is sort of inconvenient, is there a way to make the behavior "automatically go back to the x sesson on resume" ?
View 3 Replies
View Related
Nov 13, 2010
It all works if I boot my self compiled vanilla 2.6.35-rc3 though. The environment
Sony vaio VGN-SR21M 4GBRAM P8400, ATI HD3400 mobility. I use
kernel-2.6.35.6-45.fc14.x86_64
xorg-x11-drv-ati.x86_64-6.13.1-0.3.20100705git37b348059.fc14
If I suspend my notebook it starts the usual slow orange blinking indicating the suspend mode got reached. There is also evidence in the various log files that this works. If I try to resume it hangs a for 3 seconds and then I get the hdd-password screen from my bios and the notebook boots from zero. I couldn't find anything in /var/log/messages nor dmesg. If I first boot to windows (grub 2nd partition) and then restart and boot to linux, all the suspend works fine
View 1 Replies
View Related
Jun 22, 2011
how do i disable the screen lock after i wake my computer from suspend? i would prefer to be able to just wake the computer up and have it go right to the desktop, without having to enter a password. i used to use ubuntu until today, and i remember having to run "gconf-editor" and then switching off on "lock_on_suspend" under apps/gnome-power-management from the menu that popped up. i tried to run "gconf-editor" in fedora 15, but that doesn't appear to exist. i've searched around and haven't been able to find an answer, so i'm wondering if anybody knows what to do?
View 3 Replies
View Related
Mar 3, 2010
I've upgraded 4 boxes (32- and 64-bit) from Suse 11.1 to 11.2 with no unresolvable issues. Now I'm stuck with my 5th box, a Dell Dimension 8400 desktop box (yes, an old brick, 32-bit). I can suspend to RAM ("suspend") and to disk ("hibernate") fine, but resume seems to fail. In Suse 11.1 I used kpowersave (GUI in the sys tray) to suspend to RAM. For some reason, it couldn't suspend to disk but that didn't bother me. kpowersave relies on the powersaved running.
Note I had upgraded my 11.1 installation to all shiny and new KDE 4.3 stuff, and while KDE 4.3 seems not to use powersaved (and thus kpowersave) all worked fine. Upgrading to 11.2 has removed kpowersave and powersaved. I don't mind switching to another way if only I could find documentation what's being used on KDE 4.3 (and/or Suse 11.2). All I find by googling is that the daemon used is powerdevil, and that I should use a GUI for suspending (this battery monitoring plasma app).
Well, if I do that on this box it simply does -- nothing. So I tried s2ram and a2disk directly:Running s2ram with the --force option works, but the box doesn't resume. Goes on, screen stays blank, mouse and keyboard don't work. s2disk complains about not being able to "stat the resume device file". I gave it the --resume_device /dev/sda6 option, and it hibernated fine. But it doesn't resume. Pressing the power on button just starts Suse anew (and recovers the file system journals, so I assume it thinks it has crashed before).
So I think I have 2 questions:
What the heck does Suse 11.2 use for suspend/hibernate and resume? Is there any how-to available to learn what I need to configure?
Why can't I resume from successful s2ram or s2disk operations? /var/log/pm-suspend-log or pm-powersave-log don't provide any clues.
View 9 Replies
View Related
Dec 3, 2010
Can a Ubuntu (or any other distro) wake up from standby/hibernate at a preset time?
I actually don't want the PC to consume 200W all the time for just doing something every hour.
View 1 Replies
View Related
Apr 8, 2011
How can I resume a stopped job in Linux? I was using emacs and accidentally hit ctrl-z which blasted me back to the console. I can see it when I type 'jobs'
[*****]$ jobs
[1]+ Stopped
emacs test_queue.cpp
View 3 Replies
View Related
Sep 13, 2011
When I left work yesterday I left vim open with the files I was working on. I'm working from home today, so I VPN'ed in and when I go to edit those same files, I get the warning that there's another current vim session open with those files. I know I could just force logout my other user, but that would kill the existing vim session. I think my changes would all be saved in the .swp file. Instead, is it possible for me to take that existing vim session and open it with my second login? That way it would for sure preserve all my changes, and I wouldn't have to open all the same tabs again.
View 5 Replies
View Related
Jan 1, 2010
This issue happens on both my Dell D630 and my homebuilt desktop, so I'm pretty sure that its not a hardware issue. Both installs are clean new installs with encrypted home directories. Computers go to sleep just fine but when I wake them, karmic is unresponsive and stuck in IO wait for the majority of the time. How can I gather enough information to submit a useful bug report?
View 1 Replies
View Related
Apr 22, 2010
Whatever way I suspend my laptop (menu, keyboard shortcut, close lid), it seems to suspend just find (no panic lights, suspend LED indicator flashing as expected). However, when i try to resume, the laptop seems to begin the proper wakeup process (for example, the DVD-drive is tested), there's a lot of HDD activity for about 5 seconds, screen does not power on, and then the laptop just shuts off.
System setup:
lucid beta 2, fully updated (just check now)
LG E-500 laptop /w nvidia gforce mobile 8400G
bios version 1.17 from June 2007 (not sure this is important)
Things I tried:
* Completely remove anything to do with gpu drivers and installed nvidia-current driver.
* Suspend stress test described here. this didn't work at all. The first test failed (with ac adapter attached) and the second test suspended but didn't automatically resume (see "the behavior" above). Also, when I booted up again, no apport bug report is created. I tried both with rtc set to utc=yes and utc=no. with utc=yes, the second test did automatically resume, but the same problem happened (laptop shutdown while resuming).
* The debugging steps described here, but I couldn't get the "no_console_suspend" option to work. I tried adding both "no_console_suspend" and "no_console_suspend=1" (without quotes) to the boot script in the grub menu, but when I did pm-suspend in tty1, the laptop really did suspend. I would like to try to do this again if someone could explain how to add this option.
Notes:
* Not sure this is relevant, but when I boot up after a failed resume attempt, wireless network is disabled (this only happens after a failed resume!!!).
* I found a package called nvram-wakeup in synaptic that seems to be related to this. This package is not installed. Should I install it?
In case this is relevant, forgot to mention I'm running ubuntu in dual-boot along side windows7.
View 6 Replies
View Related
Apr 25, 2010
I don't have any problems with 9.04 at all with suspend & resume just shutdown (wont power off usb saitek keyboard & razer mouse) but i don't care for that I prefer suspend & resume. However trying 9.10 suspend works while resume gets a black screen & locks up. Now on 10.04 it will suspend very fast but will not power up from resume keyboard & usb power is turned off thats what I can't figure out I have checked bios & changes settings after settings & nothing happens. I know in windows everything works but i do not want windows at all I prefer linux (ubuntu). In my asus eee pc 1001p suspend & resume works with both 9.10 & 10.04.
View 7 Replies
View Related
May 3, 2010
I'm experiencing very slow resume from hibernation. Last one was nearly 3 minutes. Sure, there is 2GB of RAM to read from disk (no SSD) to memory but that long?What could I check/do?
View 4 Replies
View Related
May 7, 2010
I've read many threads here on wireless problems in 10.04. I've got it updated as of this morning.
Symptom: wireless works perfectly - doesn't drop out and starts right up at boot. But if computer (Dell Latitude D505) goes to sleep, wireless won't resume. Network Manager shows wireless networking greyed out after waking.
Here's output that should be helpful:
xxx@xxx-laptop:~$ sudo lshw -C network
[sudo] password for xxx:
*-network:0
description: Network controller
product: BCM4309 802.11a/b/g
[Code]....
I've read in several other threads here that blacklisting the wireless driver file(s) may resolve the problem.
- What driver file(s) on the computer do I blacklist?
View 9 Replies
View Related
May 15, 2010
here is my workaround on how to run a script after the PC resumes from suspend.
This is at least working on Lucid Lynx.
1. Have a look at folder /etc/pm/sleep.d/ - all scripts within this folder are automatically run as root-user after/before suspend or hibernate.
2. A script needs to look like this example:
Code:
#!/bin/bash
case "$1" in
hibernate|suspend)
ACTION BEFORE SUSPEND/HIBERNATE
[Code]....
View 9 Replies
View Related