473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

REQ: Backup of website

Hello

I am seeking after a backup script, to take backup of my webspace on
my server, my server is www.servage.net i need to take backup 2 times
per day. Via cronjob on www.cronjob.de but i have seeking i 2 days
without reslut.

Where can i find some webspace / serverspace backup scripts?

Kind redgards
Henrik

May 13 '07 #1
3 1786
On May 13, 2:48 pm, mrwheel <henrik.larse...@gmail.comwrote:
Hello

I am seeking after a backup script, to take backup of my webspace on
my server, my server iswww.servage.neti need to take backup 2 times
per day. Via cronjob onwww.cronjob.debut i have seeking i 2 days
without reslut.

Where can i find some webspace / serverspace backup scripts?

Kind redgards
Henrik
what control have you got over the server. Any large backup will take
CPU time, and memory. If you had cron access I would suggest using
zip.
You might be able to find out what functions are on your system, and
use on of them to recursively zip up a website.

for instance try
<?php
$files = file_get_contents('tobezipped.txt');
system('minizip -o -9 pdfs.zip '.$files);
exit();
?>
where tobezipped.txt is a space separated list of double quoted files.

May 13 '07 #2
In article <11**********************@p77g2000hsh.googlegroups .com>,
shimmyshack <ma********@gmail.comwrote:
>what control have you got over the server. Any large backup will take
CPU time, and memory. If you had cron access I would suggest using
zip.
You might be able to find out what functions are on your system, and
use on of them to recursively zip up a website.

for instance try
<?php
$files = file_get_contents('tobezipped.txt');
system('minizip -o -9 pdfs.zip '.$files);
exit();
?>
where tobezipped.txt is a space separated list of double quoted files.
Good idea. Even better would be in that system() call:

system('nice -10 minizip -o -9 pdfs.zip '.$files);

The 'nice' command causes the task to be run in 'nice' mode at
a lower priority so that it doesn't interfere with other more
important functions being performed by the server.

Appending ' &' to the command may also force it to run in the
background so your php script doesn't have to wait for it to
complete:
system('nice -10 minizip -o -9 pdfs.zip '.$files.' &');
....but I am unsure if that will work.

-A
May 13 '07 #3
On May 13, 11:27 pm, a...@spamcop.net (axlq) wrote:
In article <1179089807.470490.226...@p77g2000hsh.googlegroups .com>,

shimmyshack <matt.fa...@gmail.comwrote:
what control have you got over the server. Any large backup will take
CPU time, and memory. If you had cron access I would suggest using
zip.
You might be able to find out what functions are on your system, and
use on of them to recursively zip up a website.
for instance try
<?php
$files = file_get_contents('tobezipped.txt');
system('minizip -o -9 pdfs.zip '.$files);
exit();
?>
where tobezipped.txt is a space separated list of double quoted files.

Good idea. Even better would be in that system() call:

system('nice -10 minizip -o -9 pdfs.zip '.$files);

The 'nice' command causes the task to be run in 'nice' mode at
a lower priority so that it doesn't interfere with other more
important functions being performed by the server.

Appending ' &' to the command may also force it to run in the
background so your php script doesn't have to wait for it to
complete:
system('nice -10 minizip -o -9 pdfs.zip '.$files.' &');
...but I am unsure if that will work.

-A
I suppose it might be worth mentioning the old fashioned way - good
old FTP.
Filezilla running at your house with a cron job to go fetch
everything.
PHP running at your house with a cron to start your custom script up
and use ftp to grab everything.

May 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dariusz | last post by:
I want to use arrays in my website (flat file for a guestbook), but despite having read through countless online tutorials on the topic, I just can't get my code to work. I know there are...
4
by: Dariusz | last post by:
I am a beginner in PHP and MySQL, and am working through a book and various online tutorials on PHP and MySQL and now stuck - installed everything on "localhost" and it all works fine. My question...
2
by: John F Dutcher | last post by:
Can anyone comment on why the code shown in the Python error is in some way incorrect...or is there a problem with Python on my hoster's site ?? The highlites don't seem to show here...but line...
0
by: Rajani | last post by:
Hello, I uploaded all the files to the website. I am using Access database. Everyday i want to take backup. How can i take backup from ASP and copy to my local system. If any problem in the...
1
by: kg7poe | last post by:
I'm trying to install SQL server 2000 inside SBS 2000. Actually I think I already did it. I just don't know how to run/start it up. I want to upgrade my SQL 6.5 database backup into 2000. I...
2
by: Ali Syed | last post by:
I am having problems trying to get SQL server Agent to run an unattended backup of my databases. I setup (or think I did) a schedule in maintenance but it doesn't work. Is there a website or...
5
by: Fan Ruo Xin | last post by:
Hi, If I backup my db/tablespaces and log files using adsm. How can I find out the size of each db partition backup? Thanks, FRX
1
by: Shawn B. | last post by:
Greetings, I have have been working for almost 18 months on a set of WebControls where some are similar to the ASP.NET standard and well-enhanced while other controls are completely new and...
1
by: Jason Maur | last post by:
Hey all, This is my first post to a newsgroup so forgive me if it's in the wrong place... I've setup a local backup server for my company's website, and can sync the two DB's no problem (the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.