Posted by gerold on Jun 21, 2012 in Linux, Uncategorized | Comments Off
What’s the use of backups if you can’t restore from them?
In the previous post on “Backup Xen with LVM and Rsnapshot” we worked on creating backups of Xen (guest/domain) VMs with LVM, and here we’ll cover the process of restoring from these backups.
What is covered here:
Restoring specific files or directories
Doing “bare-metal” type of restore. We...
read more
Posted by gerold on Jun 18, 2012 in Linux, Uncategorized | Comments Off
This is a draft of my installation process which is mainly based from this blog: Efficient Xen Backups Using LVM and Rsnapshot.
Our setup is on Debian 6 server with 2TB disk running 10 vpses. We followed the above guide with notes on errors we encountered, mostly rsnapshot related. We are keeping daily backup locally, on a separate partition, and copies them to our remote server every...
read more
Posted by gerold on Jun 5, 2012 in Linux, Uncategorized | Comments Off
I can’t find commands in gitolite to manage repository or project name, so here’s what I got from other sources.
Add or create repository
Add entry for new project or repository in your gitolite config (conf/gitolite.conf)
Commit and push your changes. this will create and initialize your new repo.
Rename a repository
Modify the name of repo in your gitolite config...
read more
Posted by gerold on Jun 4, 2012 in Linux, Uncategorized | Comments Off
Here’s a summary for vsftpd setup with virtual user and directory in Debian. It’s probably the same process on other Debian-based distros as well as Redhat-based distros. No need to define what’s vsftpd and what’s virtual users – let’s just proceed to the setup.
Install VSFTPD:
aptitude install vsftpd
Choose what method to use for virtual user...
read more
Posted by gerold on Apr 30, 2012 in Linux, Uncategorized | Comments Off
Yum Error:
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
With unfinished transactions, yum refers to any incomplete or aborted transactions, such as package installations or updates. Obviously, yum wants you to run yum-complete-transaction command to fix the problem. If you can’t find yum-complete-transaction on your...
read more