Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › [Windows/Linux] - Automatic Backup System for BigAdv/BigBigAdv/SMP units.
New Posts  All Forums:Forum Nav:

[Windows/Linux] - Automatic Backup System for BigAdv/BigBigAdv/SMP units. - Page 11

post #101 of 152
Quote:
Originally Posted by rurushu View Post
What happens if you manually run the script in a terminal?
Will give this a go later this evening when I have time.

Quote:
Originally Posted by csm725 View Post
Well if that's your script the problem is quite obvious.
Change the user="username" line to your username.
In crontab change the path to be your path.
I was just copying from the first page, I used my username in the script. It makes a copy just never deletes them.
 
TC folding
(7 items)
 
 
CPUMotherboardGraphicsRAM
2600K Asus Gene-z MSI 570 Ripjaws X Series 8GB 1600MHz 
Hard DriveCoolingOSPower
OCZ Vertex 3 XSPC Raystorm Block + 180mm Radiator Windows 7 Ultimate/Ubuntu 10.10 Corsair 750TX 
Case
Silverstone TJ08-E 
CPUMotherboardGraphicsRAM
2600K Sabertooth P67 ATI 4650 GSkill 2133 2x2GB 
CoolingOSCase
XSPC Rasa, RX240 Ubuntu 10.10 Fractal Midi 
  hide details  
Reply
 
TC folding
(7 items)
 
 
CPUMotherboardGraphicsRAM
2600K Asus Gene-z MSI 570 Ripjaws X Series 8GB 1600MHz 
Hard DriveCoolingOSPower
OCZ Vertex 3 XSPC Raystorm Block + 180mm Radiator Windows 7 Ultimate/Ubuntu 10.10 Corsair 750TX 
Case
Silverstone TJ08-E 
CPUMotherboardGraphicsRAM
2600K Sabertooth P67 ATI 4650 GSkill 2133 2x2GB 
CoolingOSCase
XSPC Rasa, RX240 Ubuntu 10.10 Fractal Midi 
  hide details  
Reply
post #102 of 152
Quote:
Originally Posted by rurushu View Post
Did you modify permissions for the backup script? If not, open a terminal, navigate to wherever you saved the script and type in

Code:
chmod 755 backup.sh
Awesome, thanks, that worked!!! Now, one last question, is there any way I can have this start when my system starts up? Can I add it to the "Startup Applications" as I have my folding client? Thanks!
R2-D2 2700k
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core i7 2700K P8Z77-V Pro nVidia GTX970 Watercooled nVidia GTX970 Watercooled 
RAMHard DriveHard DriveHard Drive
CORSAIR Vengeance 32GB (4 x 8GB) 240-Pin DDR3 S... Samsung 840 Evo OCZ Agility 3  Crucial MX300 
Optical DriveCoolingCoolingCooling
LG Modisc XSPC Rasa 750 RS240 plus custom loop Danger Den Black Ice SR1 360 RAD Corsair AF SP120 fans (5x) 
OSMonitorMonitorMonitor
Windows 7 Professional 64 Bit Acer S231HL Acer S231HL Acer S231HL 
KeyboardPowerCaseMouse
CM Storm QuickFire XT Stealth with Cherry MX Gr... OCZ ZX 850W Corsair 750D Logitech M510 
Mouse PadAudio
Corsair MM400 Logitech LS21 
  hide details  
Reply
R2-D2 2700k
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core i7 2700K P8Z77-V Pro nVidia GTX970 Watercooled nVidia GTX970 Watercooled 
RAMHard DriveHard DriveHard Drive
CORSAIR Vengeance 32GB (4 x 8GB) 240-Pin DDR3 S... Samsung 840 Evo OCZ Agility 3  Crucial MX300 
Optical DriveCoolingCoolingCooling
LG Modisc XSPC Rasa 750 RS240 plus custom loop Danger Den Black Ice SR1 360 RAD Corsair AF SP120 fans (5x) 
OSMonitorMonitorMonitor
Windows 7 Professional 64 Bit Acer S231HL Acer S231HL Acer S231HL 
KeyboardPowerCaseMouse
CM Storm QuickFire XT Stealth with Cherry MX Gr... OCZ ZX 850W Corsair 750D Logitech M510 
Mouse PadAudio
Corsair MM400 Logitech LS21 
  hide details  
Reply
post #103 of 152
Thread Starter 
Yes, you can.
Turbulence
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5-2500k 4.4GHz Asus P8P67 Pro 3.1 HIS HD 7870 2GB G.SKILL Ripjaws X 16GB 1600MHz 
Hard DriveHard DriveOptical DriveCooling
Crucial m4 128GB Samsung Spinpoint F3 1TB Asus DRW-24B1ST Noctua NH-D14 
CoolingOSMonitorKeyboard
Accelero Twin Turbo II Windows 7 Professional N Dell U2311H Realforce 87U White 55cN 
PowerCaseMouseMouse Pad
Corsair TX650V2 Fractal Design R3 Black Pearl Razer DeathAdder SteelSeries 4HD 
AudioAudioAudio
Audinst HUD-mx1 Beyerdynamic DT990 Premium 600 Ω Recabled M-Audio AV40 
  hide details  
Reply
Turbulence
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5-2500k 4.4GHz Asus P8P67 Pro 3.1 HIS HD 7870 2GB G.SKILL Ripjaws X 16GB 1600MHz 
Hard DriveHard DriveOptical DriveCooling
Crucial m4 128GB Samsung Spinpoint F3 1TB Asus DRW-24B1ST Noctua NH-D14 
CoolingOSMonitorKeyboard
Accelero Twin Turbo II Windows 7 Professional N Dell U2311H Realforce 87U White 55cN 
PowerCaseMouseMouse Pad
Corsair TX650V2 Fractal Design R3 Black Pearl Razer DeathAdder SteelSeries 4HD 
AudioAudioAudio
Audinst HUD-mx1 Beyerdynamic DT990 Premium 600 Ω Recabled M-Audio AV40 
  hide details  
Reply
post #104 of 152
I figured out what my problem was.

The script on the first page has:
find /home/$user/backup* -mmin +720 -exec rm -r {} ;
When it should be
find /home/$user/backup* -mmin +720 -exec rm -r {} \\;

Also there is no mention of modifying the permissions and having to run the program before crontab will run it.
 
TC folding
(7 items)
 
 
CPUMotherboardGraphicsRAM
2600K Asus Gene-z MSI 570 Ripjaws X Series 8GB 1600MHz 
Hard DriveCoolingOSPower
OCZ Vertex 3 XSPC Raystorm Block + 180mm Radiator Windows 7 Ultimate/Ubuntu 10.10 Corsair 750TX 
Case
Silverstone TJ08-E 
CPUMotherboardGraphicsRAM
2600K Sabertooth P67 ATI 4650 GSkill 2133 2x2GB 
CoolingOSCase
XSPC Rasa, RX240 Ubuntu 10.10 Fractal Midi 
  hide details  
Reply
 
TC folding
(7 items)
 
 
CPUMotherboardGraphicsRAM
2600K Asus Gene-z MSI 570 Ripjaws X Series 8GB 1600MHz 
Hard DriveCoolingOSPower
OCZ Vertex 3 XSPC Raystorm Block + 180mm Radiator Windows 7 Ultimate/Ubuntu 10.10 Corsair 750TX 
Case
Silverstone TJ08-E 
CPUMotherboardGraphicsRAM
2600K Sabertooth P67 ATI 4650 GSkill 2133 2x2GB 
CoolingOSCase
XSPC Rasa, RX240 Ubuntu 10.10 Fractal Midi 
  hide details  
Reply
post #105 of 152
Wanted to say thanks for everyone using this and giveing the feedback, I will take it all down and fix it when I get home.
post #106 of 152
Quote:
Originally Posted by WonderMutt
Awesome, thanks, that worked!!! Now, one last question, is there any way I can have this start when my system starts up? Can I add it to the "Startup Applications" as I have my folding client? Thanks!
It is a crontab scheduled task so it should automatically run even after you restart your system.

Quote:
Originally Posted by JoshHuman
I figured out what my problem was.

The script on the first page has:
find /home/$user/backup* -mmin +720 -exec rm -r {} ;
When it should be
find /home/$user/backup* -mmin +720 -exec rm -r {} \\;

Also there is no mention of modifying the permissions and having to run the program before crontab will run it.
That's weird, I think I had the same problem when I first set it up, but now when I try running it witout the "\\" it still works!
White Folder
(14 items)
 
Noisy Folder
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 2600k @ 4.7GHz Asus P8P67 Pro HD5850 Ripjaws X 4GB @ 2133MHz 
Hard DriveCoolingOSMonitor
Seagate Barracuda 320GB Silver Arrow Ubuntu 10.10 Samsung T220 
PowerCaseMouse
Seasonic 620W NZXT Phantom Logitech G5 
CPUMotherboardGraphicsRAM
i7 920 @ 3.8GHz Asrock X58 Extreme MSI GTX670 OC Corsair Vengeance 8GB 
Hard DriveCoolingOSMonitor
WD 640GB Corsair H100 Windows 7 Samsung T220 
PowerCaseMouse
Corsair TX650 CM 690 II Advanced Logitech G5 
  hide details  
Reply
White Folder
(14 items)
 
Noisy Folder
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 2600k @ 4.7GHz Asus P8P67 Pro HD5850 Ripjaws X 4GB @ 2133MHz 
Hard DriveCoolingOSMonitor
Seagate Barracuda 320GB Silver Arrow Ubuntu 10.10 Samsung T220 
PowerCaseMouse
Seasonic 620W NZXT Phantom Logitech G5 
CPUMotherboardGraphicsRAM
i7 920 @ 3.8GHz Asrock X58 Extreme MSI GTX670 OC Corsair Vengeance 8GB 
Hard DriveCoolingOSMonitor
WD 640GB Corsair H100 Windows 7 Samsung T220 
PowerCaseMouse
Corsair TX650 CM 690 II Advanced Logitech G5 
  hide details  
Reply
post #107 of 152
Well, it looks like everything is fixed for now, I appreciate your help rurushu. =)
post #108 of 152
Quote:
Originally Posted by rurushu View Post
It is a crontab scheduled task so it should automatically run even after you restart your system.



That's weird, I think I had the same problem when I first set it up, but now when I try running it witout the "\\" it still works!
I currently have it running without the "\\" as well, but I have found that it doesn't delete after it gets to 48 copies (I found it this morning with 68 copies saved). I'll try adding the "\\" to mine tonight and see if that helps.

EDIT: You are right, rurushu, it does start automatically. I'm trying it with adding the "\\" to see if it will delete after 48 copies are present, let you all know what I find!
Edited by WonderMutt - 9/19/11 at 6:26pm
R2-D2 2700k
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core i7 2700K P8Z77-V Pro nVidia GTX970 Watercooled nVidia GTX970 Watercooled 
RAMHard DriveHard DriveHard Drive
CORSAIR Vengeance 32GB (4 x 8GB) 240-Pin DDR3 S... Samsung 840 Evo OCZ Agility 3  Crucial MX300 
Optical DriveCoolingCoolingCooling
LG Modisc XSPC Rasa 750 RS240 plus custom loop Danger Den Black Ice SR1 360 RAD Corsair AF SP120 fans (5x) 
OSMonitorMonitorMonitor
Windows 7 Professional 64 Bit Acer S231HL Acer S231HL Acer S231HL 
KeyboardPowerCaseMouse
CM Storm QuickFire XT Stealth with Cherry MX Gr... OCZ ZX 850W Corsair 750D Logitech M510 
Mouse PadAudio
Corsair MM400 Logitech LS21 
  hide details  
Reply
R2-D2 2700k
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core i7 2700K P8Z77-V Pro nVidia GTX970 Watercooled nVidia GTX970 Watercooled 
RAMHard DriveHard DriveHard Drive
CORSAIR Vengeance 32GB (4 x 8GB) 240-Pin DDR3 S... Samsung 840 Evo OCZ Agility 3  Crucial MX300 
Optical DriveCoolingCoolingCooling
LG Modisc XSPC Rasa 750 RS240 plus custom loop Danger Den Black Ice SR1 360 RAD Corsair AF SP120 fans (5x) 
OSMonitorMonitorMonitor
Windows 7 Professional 64 Bit Acer S231HL Acer S231HL Acer S231HL 
KeyboardPowerCaseMouse
CM Storm QuickFire XT Stealth with Cherry MX Gr... OCZ ZX 850W Corsair 750D Logitech M510 
Mouse PadAudio
Corsair MM400 Logitech LS21 
  hide details  
Reply
post #109 of 152
Also, I had one other question...I'm using the Linux version, does anyone know how I can get rid of this if I no longer want the backup? Thanks!
R2-D2 2700k
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core i7 2700K P8Z77-V Pro nVidia GTX970 Watercooled nVidia GTX970 Watercooled 
RAMHard DriveHard DriveHard Drive
CORSAIR Vengeance 32GB (4 x 8GB) 240-Pin DDR3 S... Samsung 840 Evo OCZ Agility 3  Crucial MX300 
Optical DriveCoolingCoolingCooling
LG Modisc XSPC Rasa 750 RS240 plus custom loop Danger Den Black Ice SR1 360 RAD Corsair AF SP120 fans (5x) 
OSMonitorMonitorMonitor
Windows 7 Professional 64 Bit Acer S231HL Acer S231HL Acer S231HL 
KeyboardPowerCaseMouse
CM Storm QuickFire XT Stealth with Cherry MX Gr... OCZ ZX 850W Corsair 750D Logitech M510 
Mouse PadAudio
Corsair MM400 Logitech LS21 
  hide details  
Reply
R2-D2 2700k
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core i7 2700K P8Z77-V Pro nVidia GTX970 Watercooled nVidia GTX970 Watercooled 
RAMHard DriveHard DriveHard Drive
CORSAIR Vengeance 32GB (4 x 8GB) 240-Pin DDR3 S... Samsung 840 Evo OCZ Agility 3  Crucial MX300 
Optical DriveCoolingCoolingCooling
LG Modisc XSPC Rasa 750 RS240 plus custom loop Danger Den Black Ice SR1 360 RAD Corsair AF SP120 fans (5x) 
OSMonitorMonitorMonitor
Windows 7 Professional 64 Bit Acer S231HL Acer S231HL Acer S231HL 
KeyboardPowerCaseMouse
CM Storm QuickFire XT Stealth with Cherry MX Gr... OCZ ZX 850W Corsair 750D Logitech M510 
Mouse PadAudio
Corsair MM400 Logitech LS21 
  hide details  
Reply
post #110 of 152
Edit crontab to remove the line you added, and then empty and delete all the directories you made. It's gone!
     
CPUMotherboardGraphicsRAM
Intel Core i7-3770k ASRock Z77 Extreme6 LGA 1155 EVGA GeForce GTX 780 FTW (03G-P4-3784-KR) Crucial Ballistix Sport 
Hard DriveHard DriveHard DriveHard Drive
Samsung Spinpoint F3 HD103SJ Hitachi Deskstar 5K3000 HDS5C3020ALA632 Hitachi Deskstar 7K1000 HDS721075KLA330 Hitachi X Mobile 
Optical DriveCoolingCoolingCooling
LG CH08LS10 (SATA BD-R / DVD±R / CD-RW) Prolimatech Megashadow Scythe S-Flex SFF21G x2 Scythe S-Flex SFF21F x2 
CoolingCoolingCoolingOS
Thermalright TR-FDB-1600 x4 XCLIO Amazing Fan 250mm Scythe Kama Bay SCKB-1000BK x3 Windows 7 Home Premium x64 SP1 
OSOSOSOS
Windows XP Home x64 SP3 (via Virtualbox) Fedora 15 LXDE (via Virtualbox) Slackware Linux XFCE (via Virtualbox) DOS 5.0 (via DOSbox) 
MonitorMonitorMonitorKeyboard
LG 47LH40 Acer G276HL Gbd Acer G276HL Gbd Unicomp Classic 104 Black Buckling Spring PS2 
PowerCaseMouseMouse Pad
Silverstone OP1000-E Modded Thermaltake Armor VA8003BWS Logitech G500 Massive generic black foam mat 
AudioAudioAudioAudio
Creative Sound Blaster X-Fi Titanium Fatal1ty C... Denon AVR-1910 Polk Audio Monitor 40 Polk Audio Monitor 30 
AudioAudioAudioAudio
Polk Audio CS1 Polk Audio PSW10 Jamo C400SUR Plantronics Gamecom 377 
AudioOtherOtherOther
LG HBM-235 Genovation ControlPad 683 Canon Imageclass MF4450 12" Dual White Cold Cathode Kit x3 
OtherOtherOtherOther
Microsoft Strategic Commander UPEK Eikon Digital Privacy Manager Logitech G27 Playseat Revolution (NASCAR) 
OtherOtherOtherOther
Playseat Revolution Gearshift Holder Sony DualShock 3 Microsoft Lifecam VX-1000 D-Link DBT-120 
OtherOther
APC SMT1500 HP Photosmart 3210xi All-in-One 
CPUMotherboardGraphicsRAM
Intel Core 2 Duo T7700 Merom Toshiba ISRAA 1.0 (Socket 479) ATI Mobility Radeon HD2600 modded CCC 10.6 OCZ2MV6674GK 
Hard DriveHard DriveOptical DriveCooling
Hitachi Travelstar 7K500 HD20500 Western Digital Caviar Blue (WD6400BEVT-22A0RT0) Matshita DVD-RAM UJ-850S ATA Stock heatpipe system 
CoolingOSOSOS
Thermaltake Massive23 CS Windows 7 Home Premium x64 SP1 Windows XP Home x64 SP3 (via Virtualbox) DOS 5.0 (via DOSbox) 
MonitorKeyboardPowerCase
17.0" Diagonal Widescreen WSXGA+ Internal only 19 V, 6.32 A Stock 17" Satellite shell (8.5 lbs) 
MouseMouse PadAudioAudio
Logitech G500 Small generic black foam mat HP Thin USB Powered Speakers Fiio E5 Headphone Amplifier 
AudioOtherOther
Griffin iTrip P1141 Microsoft GPS 168 Toshiba Backpack PA1366U-1NCS 
CPUMotherboardGraphicsRAM
AMD Athlon XP-M 2500+ Barton Hewlett-Packard 0024 ATI Mobility Radeon IGP-320M Crucial CT6464X265.16FG 
Hard DriveOptical DriveCoolingOS
Toshiba MK4021GAS Toshiba SD-R2512 Stock heatpipes Windows XP Home SP3 
MonitorKeyboardPowerCase
15.0" XGA TFT Internal only 18.5 V, 4.9 A Stock 15" Pavilion Shell (8 lbs) 
MouseMouse PadAudioOther
Logitech MX510 Gaming Optical Generic gel-based green Internal Altec Lansing only Targus PAU10KU 
OtherOther
D-Link DWL-G650M Generic black messenger-style bag 
  hide details  
Reply
     
CPUMotherboardGraphicsRAM
Intel Core i7-3770k ASRock Z77 Extreme6 LGA 1155 EVGA GeForce GTX 780 FTW (03G-P4-3784-KR) Crucial Ballistix Sport 
Hard DriveHard DriveHard DriveHard Drive
Samsung Spinpoint F3 HD103SJ Hitachi Deskstar 5K3000 HDS5C3020ALA632 Hitachi Deskstar 7K1000 HDS721075KLA330 Hitachi X Mobile 
Optical DriveCoolingCoolingCooling
LG CH08LS10 (SATA BD-R / DVD±R / CD-RW) Prolimatech Megashadow Scythe S-Flex SFF21G x2 Scythe S-Flex SFF21F x2 
CoolingCoolingCoolingOS
Thermalright TR-FDB-1600 x4 XCLIO Amazing Fan 250mm Scythe Kama Bay SCKB-1000BK x3 Windows 7 Home Premium x64 SP1 
OSOSOSOS
Windows XP Home x64 SP3 (via Virtualbox) Fedora 15 LXDE (via Virtualbox) Slackware Linux XFCE (via Virtualbox) DOS 5.0 (via DOSbox) 
MonitorMonitorMonitorKeyboard
LG 47LH40 Acer G276HL Gbd Acer G276HL Gbd Unicomp Classic 104 Black Buckling Spring PS2 
PowerCaseMouseMouse Pad
Silverstone OP1000-E Modded Thermaltake Armor VA8003BWS Logitech G500 Massive generic black foam mat 
AudioAudioAudioAudio
Creative Sound Blaster X-Fi Titanium Fatal1ty C... Denon AVR-1910 Polk Audio Monitor 40 Polk Audio Monitor 30 
AudioAudioAudioAudio
Polk Audio CS1 Polk Audio PSW10 Jamo C400SUR Plantronics Gamecom 377 
AudioOtherOtherOther
LG HBM-235 Genovation ControlPad 683 Canon Imageclass MF4450 12" Dual White Cold Cathode Kit x3 
OtherOtherOtherOther
Microsoft Strategic Commander UPEK Eikon Digital Privacy Manager Logitech G27 Playseat Revolution (NASCAR) 
OtherOtherOtherOther
Playseat Revolution Gearshift Holder Sony DualShock 3 Microsoft Lifecam VX-1000 D-Link DBT-120 
OtherOther
APC SMT1500 HP Photosmart 3210xi All-in-One 
CPUMotherboardGraphicsRAM
Intel Core 2 Duo T7700 Merom Toshiba ISRAA 1.0 (Socket 479) ATI Mobility Radeon HD2600 modded CCC 10.6 OCZ2MV6674GK 
Hard DriveHard DriveOptical DriveCooling
Hitachi Travelstar 7K500 HD20500 Western Digital Caviar Blue (WD6400BEVT-22A0RT0) Matshita DVD-RAM UJ-850S ATA Stock heatpipe system 
CoolingOSOSOS
Thermaltake Massive23 CS Windows 7 Home Premium x64 SP1 Windows XP Home x64 SP3 (via Virtualbox) DOS 5.0 (via DOSbox) 
MonitorKeyboardPowerCase
17.0" Diagonal Widescreen WSXGA+ Internal only 19 V, 6.32 A Stock 17" Satellite shell (8.5 lbs) 
MouseMouse PadAudioAudio
Logitech G500 Small generic black foam mat HP Thin USB Powered Speakers Fiio E5 Headphone Amplifier 
AudioOtherOther
Griffin iTrip P1141 Microsoft GPS 168 Toshiba Backpack PA1366U-1NCS 
CPUMotherboardGraphicsRAM
AMD Athlon XP-M 2500+ Barton Hewlett-Packard 0024 ATI Mobility Radeon IGP-320M Crucial CT6464X265.16FG 
Hard DriveOptical DriveCoolingOS
Toshiba MK4021GAS Toshiba SD-R2512 Stock heatpipes Windows XP Home SP3 
MonitorKeyboardPowerCase
15.0" XGA TFT Internal only 18.5 V, 4.9 A Stock 15" Pavilion Shell (8 lbs) 
MouseMouse PadAudioOther
Logitech MX510 Gaming Optical Generic gel-based green Internal Altec Lansing only Targus PAU10KU 
OtherOther
D-Link DWL-G650M Generic black messenger-style bag 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Overclock.net Folding@Home Team
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › [Windows/Linux] - Automatic Backup System for BigAdv/BigBigAdv/SMP units.