İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

ssh da db yi yedeklemek.

raptor

0
İyinet Üyesi
Katılım
7 Ekim 2006
Mesajlar
853
Reaction score
0
merhaba bir sitemin sql dosyası biraz büyük ve yedek alırken bilgisayarıma her defasında bağlantı kopuyor bunu ssh da bir dizine nasıl kayıt edebilirim daha sonra flashget le vs indirebilmek için.
 

Unutmam

0
İyinet Üyesi
Katılım
7 Ocak 2006
Mesajlar
1,567
Reaction score
0
Aynı sorun bende de var ssh harici başka yöntemi varmıdır bunun? ssh yetkisi yok.
 

Uzmanium

0
İyinet Üyesi
Katılım
14 Şubat 2007
Mesajlar
20
Reaction score
0
Konum
Bursa
Bütün veritabanlarını yedeklemek için

Kod:
mysqldump --opt --user=root --password --all-databases | bzip2 -c
> /backup/mysql.sql.bz2

site1 veritabanını yedek almak için ;

Kod:
mysqldump --database site1 > site1.sql -u root -p

site1 ve site2 dblerini yedeklemek için

Kod:
mysqldump --database site1 site2 > site1vesite2.sql -u root -p

root yerine sizin kullanıcı adınızı yazmalısınız. Eğer root olarak erişebiliyorsanız böyle kalabilir.
 

iyinet

Root
Admin
Hosting Firması
Katılım
2 Eylül 2002
Mesajlar
5,028
Reaction score
63
Konum
Sakarya
Oturdum yazdim

Bu mesaj uzerine oturdum sizin icin PHP de dosya parcalayan program yazdim.
Hayrini gorun. Windows da http://www.freebyte.com/hjsplit/ ile birlestirin.

Isteyen kisiler baslik kismi kalmak sarti ile bu kodu yayinlayabilirler.
 

iyinet

Root
Admin
Hosting Firması
Katılım
2 Eylül 2002
Mesajlar
5,028
Reaction score
63
Konum
Sakarya
HJSplit uyumlu Dosya bolen PHP scriptin yenilenmis hali eklenmistir.
 

Desi-Instincts

0
İyinet Üyesi
Katılım
11 Mart 2008
Mesajlar
66
Reaction score
0
Im sorry i dont know the language used in the forum, but i do know english ... but im having problem with the php script of HJsplit which splits the files online. I have changed the paths but im unable to get it working. I have modified the script as under :


// Edit here (3 variables)
// ---------------------------
// File to split, is its not in the same folder with filesplit.php, full path is required.
$file = "http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe";

// Target folder. Splitted files will be stored here. Original file never gets touched.
// Do not append slash! Make sure webserver has write permission on this folder.
$targetfolder = '/www/tmp';

// File size in Mb per piece. For a 200Mb file if piecesize=10 it will result with 20 x 10Mb files
$piecesize = 100;
 

WizarD

0
İyinet Üyesi
Katılım
31 Mayıs 2007
Mesajlar
32
Reaction score
0
Konum
Hamburg
Burdaki script isini gorecektir kullandigim bir sistem cron ile birlite istediginiz saatlerde yedeginizi alabilirsiniz
 

Desi-Instincts

0
İyinet Üyesi
Katılım
11 Mart 2008
Mesajlar
66
Reaction score
0
Yes it is writable, i created a folder named "tmp" as declared in the script and then changed its permission to read, write as well as execute.
 

Desi-Instincts

0
İyinet Üyesi
Katılım
11 Mart 2008
Mesajlar
66
Reaction score
0
This is what it says :

Warning: fopen(http://desi-instincts.com/tmp/http:...) (2007)/GtASa/GTA San Andreas.part01.exe.001) [function.fopen]: failed to open stream: HTTP wrapper does not support writeable connections. in /mounted-storage/home90b/sub008/sc42254-ESFQ/www/filesplit.php on line 62
Splitting http://desi-instincts.com/Games (Latest) (2007)/GtASa/GTA San Andreas.part01.exe into 100 Mb files (last piece may be smaller in size) ...
http://desi-instincts.com/tmp/http:...) (2007)/GtASa/GTA San Andreas.part01.exe.001

Warning: fwrite(): supplied argument is not a valid stream resource in /mounted-storage/home90b/sub008/sc42254-ESFQ/www/filesplit.php on line 67
filesplit.php is unable to write to current folder.
I think it does not have write permission!
Try chmod +w folder
 

Desi-Instincts

0
İyinet Üyesi
Katılım
11 Mart 2008
Mesajlar
66
Reaction score
0
The above mentioned error arises when the contents of the filesplit.php is :

// Edit here (3 variables)
// ---------------------------
// File to split, is its not in the same folder with filesplit.php, full path is required.
$file = "http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe";

// Target folder. Splitted files will be stored here. Original file never gets touched.
// Do not append slash! Make sure webserver has write permission on this folder.
$targetfolder = 'http://desi-instincts.com/tmp';

// File size in Mb per piece. For a 200Mb file if piecesize=10 it will result with 20 x 10Mb files
$piecesize = 100;
 

Angelo

0
İyinet Üyesi
Katılım
13 Aralık 2004
Mesajlar
9,603
Reaction score
111
Konum
AZ
I didnt write the script, but you can try the following and see if that helps.
Change the following to relative paths instead of URL.
Assuming your script is on the base path of desi-instincts.com

$file = "http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe";

->

$file = "Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe";
 

Angelo

0
İyinet Üyesi
Katılım
13 Aralık 2004
Mesajlar
9,603
Reaction score
111
Konum
AZ
Yes. He may be more of assistance when he is online. Though i strongly think relative path would work.
 

Angelo

0
İyinet Üyesi
Katılım
13 Aralık 2004
Mesajlar
9,603
Reaction score
111
Konum
AZ
I checked it again, the problem is not the first directive, its the second one. You are trying to make a writable connection to an HTTP protocol. Thats why you are getting the error.

Change
$targetfolder = 'http://desi-instincts.com/tmp';
to

$targetfolder = 'tmp';
or
$targetfolder = '/mounted-storage/home90b/sub008/sc42254-ESFQ/www/tmp';
 

Desi-Instincts

0
İyinet Üyesi
Katılım
11 Mart 2008
Mesajlar
66
Reaction score
0
Well a very foolish question : hope he knows english .... he shud i guesss ??
 

Desi-Instincts

0
İyinet Üyesi
Katılım
11 Mart 2008
Mesajlar
66
Reaction score
0
so you mean the source file's path :

$file = "http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe";

is ok right ??
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst