I changed the things a bit.
I created the script on my root folder:
#!/bin/bash# backup script
echo "Starting"
rsync -avvP /home/servers /root
echo "Done"
exit 0
Type: Posts; User: Di0g0; Keyword(s):
I changed the things a bit.
I created the script on my root folder:
#!/bin/bash# backup script
echo "Starting"
rsync -avvP /home/servers /root
echo "Done"
exit 0
Ok, I have the script created to backup de home/Servers folder to the root folder on the cron.hourly.
Now I have 2 questions:
1º This will backup automatically without any user intervention...
Right now I use a simple way to backup (since I have little files on this machine)
tar czvf mybackup.tar.gz /home/servers
It is possible to create a simple cron job to execute this command...
Hi
Can someone explain me how to setup a cron job to make a full backup of my home directory every 1 hour?
Thanks.
Worked!!!! Thank you VERY VERY VERY MUCH!
I searched on the web for days and in 5 minutes you solved my problem :D, thank you one more time!
Ahh, but as I said when I try to load it gives an error:
FATAL: Module nf_conntrack not found ubuntu
" If you have nf_conntrack_ftp loaded"
How can I see that?
It's on passive mode on the VM.
Off topic:
If I SSH chroot users, they can execute game servers? Or they can't?
I'm confused, very confused.
I installed VSFTPD on a Virtual Machine for test purposes, and created this rules:
*filter
# General
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.0/8 -j...
Linux 2.6.18-308.el5.028stab099.3 #1 SMP Wed Mar 7 15:56:00 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10...
Yap, but when I try to load it gives the error:
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module ip_conntrack not found ubuntu
modprobe ip_conntrack gives error:
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module ip_conntrack not found ubuntu
How can I test that? Now I have passive ports opened, but doesn't work :S
Hi
For some reason I can't understand I'm having problems connection to FTP server!
My filezilla client can connect to the server but then it gives an error:
Response: 227 Entering...
But in the SAMP case, the only way to stop that kind of servers is killing their PID. Is there anyway to create a key to stop samp servers killing a random PID? :(
Also
About my new ideia, I...
My new idea was installing a control panel on a web host to start & stop the servers. The panel will use a ubuntu account to SSH to the VPS.
After that I will create 2 folders inside that account...
Here the client put this? Putty? ssh -i ~/.ssh/script_rsa_key user@server.example.org
Ya they only need to run a file to start the server ahhh an another to stop the serve, in the SAMP case the...
If i block SSH to an ip SFTP will be blocked to that ip too?
I have a VPS when I need to create 2 users, one for minecraft other for SAMP. (2 different games)
Each account will have a folder with the game files inside.
Now the Minecraft guy needs to...
Ok, but how i can allow ssh connection?
And if they are chroot they can acess the linux system folders and things like that to execute the game server on that account?
I can't make this this way...
Can you explain me how I can chroot ssh users to his home directory? And allow sftp chrooted to their home folder.
And if I make this, they can execute scripts and...
Thanks
How can I limit a specific user to can only acess via SSH/SFTP from only 1 IP defined by me?
Nvm, i solved that alone. Thanks anyway!!
Thanks!
Then it is possible to give account servers permissions to all the folders inside his home directory /home/servers/, and give permissions to the user paneluser only on his folder...
I'm a bit confused... Can you make an easy tutorial with the basic steps so I can try?
I formatted my VPS because I messed up my ubuntu :(
Ya, but that only prevents shell access.. or I'm wrong? I can lock a user to other user folder ? If the answers is yes, where I have to config the path for that user? Each user have a different path...