Use dump(8) to create a snapshot of the (file)system.
dump -0aLf /path/to/dumpfile /
That will create a live dump of the root-filesystem and save it to /path/to/dumpfile. That dump can be transferred over ssh to another computer. Or you can do it in one go by the use of this.
dump -0aLf - | ssh my.backup.server dd of=/path/on/my/server/dumpfile
That can later be restored by the following:
cd /where/I/should/restore
restore -xf /path/to/dumpfile
Applications such as databases will have to be handled separately. With a MySQL database for instance you have mysqldump to create a textfile of sql commands that can be run on another MySQL server in order to be imported there. Other databases have similar methods.